Index: src/image/SkSurface_Raster.cpp |
diff --git a/src/image/SkSurface_Raster.cpp b/src/image/SkSurface_Raster.cpp |
index 1b218eb446222a1e64802c357b8a7ab3c28e362e..e24c0e869950f81fa8ca0fc3c7901df2c0fedf72 100644 |
--- a/src/image/SkSurface_Raster.cpp |
+++ b/src/image/SkSurface_Raster.cpp |
@@ -125,7 +125,7 @@ void SkSurface_Raster::onCopyOnWrite(ContentChangeMode mode) { |
fBitmap.allocPixels(); |
} else { |
SkBitmap prev(fBitmap); |
- prev.deepCopyTo(&fBitmap, prev.config()); |
+ prev.deepCopyTo(&fBitmap); |
} |
// Now fBitmap is a deep copy of itself (and therefore different from |
// what is being used by the image. Next we update the canvas to use |