Index: src/core/SkBitmap.cpp |
diff --git a/src/core/SkBitmap.cpp b/src/core/SkBitmap.cpp |
index 9227906eab643a60d51e008d0a1d631176c81419..cfe646c595e7f648ded0ec06c04f0c93e06dab27 100644 |
--- a/src/core/SkBitmap.cpp |
+++ b/src/core/SkBitmap.cpp |
@@ -322,6 +322,9 @@ bool SkBitmap::setAlphaType(SkAlphaType alphaType) { |
return false; |
} |
fAlphaType = SkToU8(alphaType); |
+ if (fPixelRef) { |
+ fPixelRef->notifyAlphaTypeChanged(alphaType); |
scroggo
2014/01/24 20:50:52
One downside is that if a bitmap representing an o
reed1
2014/01/27 13:46:14
Done.
|
+ } |
return true; |
} |