Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(659)

Unified Diff: src/image/SkImage_Raster.cpp

Issue 13226002: Fixed bug with SkImage leaving canvas backing store in an immutable state after destroy. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tests/SurfaceTest.cpp » ('j') | tests/SurfaceTest.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/image/SkImage_Raster.cpp
===================================================================
--- src/image/SkImage_Raster.cpp (revision 8437)
+++ src/image/SkImage_Raster.cpp (working copy)
@@ -100,7 +100,6 @@
fBitmap.setConfig(config, info.fWidth, info.fHeight, rowBytes);
fBitmap.setPixelRef(pr);
fBitmap.setIsOpaque(isOpaque);
- fBitmap.setImmutable();
Justin Novosad 2013/04/03 14:10:54 Problem here is that the pixel ref is shared with
}
SkImage_Raster::~SkImage_Raster() {}
« no previous file with comments | « no previous file | tests/SurfaceTest.cpp » ('j') | tests/SurfaceTest.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698