aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/image/SkSurface_Raster.cpp
diff options
context:
space:
mode:
authorGravatar reed <reed@chromium.org>2015-10-04 11:28:36 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-10-04 11:28:36 -0700
commitaf3fbfca0ab706230c33e46af620e0044a56c83e (patch)
tree779a3187be75dfaa58ac15fcf8b827ed593f038d /src/image/SkSurface_Raster.cpp
parent588b9cab10d02432faff9f433a1f61293a7f90fe (diff)
SkImage doesn't use props, so don't need to store it
BUG=skia: TBR=bsalomon Review URL: https://codereview.chromium.org/1372153006
Diffstat (limited to 'src/image/SkSurface_Raster.cpp')
-rw-r--r--src/image/SkSurface_Raster.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image/SkSurface_Raster.cpp b/src/image/SkSurface_Raster.cpp
index 7ee09c1eed..d5593eb1d7 100644
--- a/src/image/SkSurface_Raster.cpp
+++ b/src/image/SkSurface_Raster.cpp
@@ -126,7 +126,7 @@ SkImage* SkSurface_Raster::onNewImageSnapshot(Budgeted) {
}
// Our pixels are in memory, so read access on the snapshot SkImage could be cheap.
// Lock the shared pixel ref to ensure peekPixels() is usable.
- return SkNewImageFromRasterBitmap(fBitmap, &this->props(),
+ return SkNewImageFromRasterBitmap(fBitmap,
fWeOwnThePixels ? kNo_ForceCopyMode : kYes_ForceCopyMode);
}