Index: src/image/SkSurface_Raster.cpp |
diff --git a/src/image/SkSurface_Raster.cpp b/src/image/SkSurface_Raster.cpp |
index 7ee09c1eede41b500c3cd9fd3cc9237ad543e1f0..d5593eb1d7dd1e72872df0ab3c0707fe6108371d 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); |
} |