| Index: src/core/SkScaledImageCache.cpp
|
| diff --git a/src/core/SkScaledImageCache.cpp b/src/core/SkScaledImageCache.cpp
|
| index 1e37884c311c3d43811d91b1e98962237a63de24..886b1438ca70ec243a69eebde6db3a2a134e6623 100644
|
| --- a/src/core/SkScaledImageCache.cpp
|
| +++ b/src/core/SkScaledImageCache.cpp
|
| @@ -277,7 +277,7 @@ bool SkScaledImageCacheDiscardableAllocator::allocPixelRef(SkBitmap* bitmap,
|
| }
|
|
|
| // can we relax this?
|
| - if (kPMColor_SkColorType != bitmap->colorType()) {
|
| + if (kN32_SkColorType != bitmap->colorType()) {
|
| return false;
|
| }
|
|
|
|
|