Index: src/effects/SkMorphologyImageFilter.cpp |
diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp |
index f2eeb2d6ffa3dd235f4205f1aa58f65706a97cda..351042bd83316b2e244dfcf9fd7ee70dd1fe28a5 100644 |
--- a/src/effects/SkMorphologyImageFilter.cpp |
+++ b/src/effects/SkMorphologyImageFilter.cpp |
@@ -150,7 +150,7 @@ bool SkMorphologyImageFilter::filterImageGeneric(SkMorphologyImageFilter::Proc p |
return false; |
} |
- if (src.config() != SkBitmap::kARGB_8888_Config) { |
+ if (src.colorType() != kPMColor_SkColorType) { |
return false; |
} |