Index: src/core/SkBitmapFilter.cpp |
diff --git a/src/core/SkBitmapFilter.cpp b/src/core/SkBitmapFilter.cpp |
index 7443cb61b7c9953faf8517e5973c395e7c0a3810..1653cbb20ec313b2287eca543339f1e8ec970a7d 100644 |
--- a/src/core/SkBitmapFilter.cpp |
+++ b/src/core/SkBitmapFilter.cpp |
@@ -123,8 +123,8 @@ bool SkBitmapProcState::setBitmapFilterProcs() { |
return false; |
} |
- // TODO: consider supporting other configs (e.g. 565, A8) |
- if (fBitmap->config() != SkBitmap::kARGB_8888_Config) { |
+ // TODO: consider supporting other colortypes (e.g. 565, A8) |
+ if (fBitmap->colorType() != kPMColor_SkColorType) { |
return false; |
} |