diff options
author | junov@chromium.org <junov@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-04-03 15:03:26 +0000 |
---|---|---|
committer | junov@chromium.org <junov@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-04-03 15:03:26 +0000 |
commit | af0583528c7dd5344abfe14347377011abe374e2 (patch) | |
tree | d0ab2d58896b152cc205fab64227b80c99a0de6f /src | |
parent | e4617bf6d45cdde07f89e341ebf5c485916bf0b2 (diff) |
Fixed bug with SkImage leaving canvas backing store in an immutable state after destroy.
Added unit test that verifies that surface backing is writable after creating and destroying an image.
Review URL: https://codereview.chromium.org/13226002
git-svn-id: http://skia.googlecode.com/svn/trunk@8512 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r-- | src/image/SkImage_Raster.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/image/SkImage_Raster.cpp b/src/image/SkImage_Raster.cpp index d4ed171f10..4a18f4aef2 100644 --- a/src/image/SkImage_Raster.cpp +++ b/src/image/SkImage_Raster.cpp @@ -100,7 +100,6 @@ SkImage_Raster::SkImage_Raster(const Info& info, SkPixelRef* pr, size_t rowBytes fBitmap.setConfig(config, info.fWidth, info.fHeight, rowBytes); fBitmap.setPixelRef(pr); fBitmap.setIsOpaque(isOpaque); - fBitmap.setImmutable(); } SkImage_Raster::~SkImage_Raster() {} |