Index: src/effects/gradients/SkGradientShader.cpp |
diff --git a/src/effects/gradients/SkGradientShader.cpp b/src/effects/gradients/SkGradientShader.cpp |
index b1fa560dfcc13df980c92815711e22a1932202be..2ebb9c71d9bdc8cafc169fc6fbb3e5e079c226bc 100644 |
--- a/src/effects/gradients/SkGradientShader.cpp |
+++ b/src/effects/gradients/SkGradientShader.cpp |
@@ -517,7 +517,7 @@ |
info.fWidth = kCache32Count; |
info.fHeight = 4; // for our 4 dither rows |
info.fAlphaType = kPremul_SkAlphaType; |
- info.fColorType = kPMColor_SkColorType; |
+ info.fColorType = kN32_SkColorType; |
if (NULL == fCache32PixelRef) { |
fCache32PixelRef = SkMallocPixelRef::NewAllocate(info, 0, NULL); |