Index: src/core/SkBitmapScaler.cpp |
diff --git a/src/core/SkBitmapScaler.cpp b/src/core/SkBitmapScaler.cpp |
index 599e9d8eb54eba79645da0d353d651d2a3b58c93..9e8c5feef03971298d017b6a46c1ce53f7260392 100644 |
--- a/src/core/SkBitmapScaler.cpp |
+++ b/src/core/SkBitmapScaler.cpp |
@@ -282,7 +282,7 @@ |
SkAutoLockPixels locker(source); |
if (!source.readyToDraw() || |
- source.colorType() != kN32_SkColorType) { |
+ source.colorType() != kPMColor_SkColorType) { |
return false; |
} |