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