Index: src/image/SkSurface_Raster.cpp |
diff --git a/src/image/SkSurface_Raster.cpp b/src/image/SkSurface_Raster.cpp |
index cd4f049c4166be5dd76edc6bf4534cd9b96771db..b221c130e5e6f735acbd6b2a6fe0f515970de829 100644 |
--- a/src/image/SkSurface_Raster.cpp |
+++ b/src/image/SkSurface_Raster.cpp |
@@ -115,7 +115,7 @@ void SkSurface_Raster::onDraw(SkCanvas* canvas, SkScalar x, SkScalar y, |
} |
SkImage* SkSurface_Raster::onNewImageSnapshot() { |
- return SkNewImageFromBitmap(fBitmap, fWeOwnThePixels); |
+ return SkNewImageFromBitmap(fBitmap, fWeOwnThePixels, &this->props()); |
} |
void SkSurface_Raster::onCopyOnWrite(ContentChangeMode mode) { |