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