Index: src/core/SkBitmapFilter.cpp |
diff --git a/src/core/SkBitmapFilter.cpp b/src/core/SkBitmapFilter.cpp |
index a9c3223fbc731531c88263a189412ea11425a85b..1653cbb20ec313b2287eca543339f1e8ec970a7d 100644 |
--- a/src/core/SkBitmapFilter.cpp |
+++ b/src/core/SkBitmapFilter.cpp |
@@ -124,7 +124,7 @@ |
} |
// TODO: consider supporting other colortypes (e.g. 565, A8) |
- if (fBitmap->colorType() != kN32_SkColorType) { |
+ if (fBitmap->colorType() != kPMColor_SkColorType) { |
return false; |
} |