Index: src/core/SkBitmapProcState.cpp |
diff --git a/src/core/SkBitmapProcState.cpp b/src/core/SkBitmapProcState.cpp |
index a269170422cf36e4936933215e71da85c5cd0da6..2fa02947503d51763aa4bdee53008fea94d0a182 100644 |
--- a/src/core/SkBitmapProcState.cpp |
+++ b/src/core/SkBitmapProcState.cpp |
@@ -189,6 +189,7 @@ bool SkBitmapProcState::possiblyScaleImage() { |
} |
SkASSERT(NULL != fScaledBitmap.getPixels()); |
+ fScaledBitmap.setImmutable(); |
SkBitmapCache::Add(fOrigBitmap, roundedDestWidth, roundedDestHeight, fScaledBitmap); |
} |