Index: src/effects/SkDisplacementMapEffect.cpp |
diff --git a/src/effects/SkDisplacementMapEffect.cpp b/src/effects/SkDisplacementMapEffect.cpp |
index a563a6ef8593ab9482a96a8fb1c9a396cd0b823b..cffadb2e660ddca7111a4c0c2dbcd3a825949688 100644 |
--- a/src/effects/SkDisplacementMapEffect.cpp |
+++ b/src/effects/SkDisplacementMapEffect.cpp |
@@ -204,8 +204,8 @@ bool SkDisplacementMapEffect::onFilterImage(Proxy* proxy, |
(displInput && !displInput->filterImage(proxy, src, ctm, &displ, &displOffset))) { |
return false; |
} |
- if ((displ.config() != SkBitmap::kARGB_8888_Config) || |
- (color.config() != SkBitmap::kARGB_8888_Config)) { |
+ if ((displ.colorType() != kPMColor_SkColorType) || |
+ (color.colorType() != kPMColor_SkColorType)) { |
return false; |
} |