diff options
Diffstat (limited to 'src/effects/SkLightingImageFilter.cpp')
-rw-r--r-- | src/effects/SkLightingImageFilter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/effects/SkLightingImageFilter.cpp b/src/effects/SkLightingImageFilter.cpp index f4f1ae1707..f4d0ea26a6 100644 --- a/src/effects/SkLightingImageFilter.cpp +++ b/src/effects/SkLightingImageFilter.cpp @@ -933,7 +933,7 @@ bool SkDiffuseLightingImageFilter::onFilterImage(Proxy* proxy, return false; } - if (src.config() != SkBitmap::kARGB_8888_Config) { + if (src.colorType() != kPMColor_SkColorType) { return false; } SkAutoLockPixels alp(src); @@ -1026,7 +1026,7 @@ bool SkSpecularLightingImageFilter::onFilterImage(Proxy* proxy, return false; } - if (src.config() != SkBitmap::kARGB_8888_Config) { + if (src.colorType() != kPMColor_SkColorType) { return false; } SkAutoLockPixels alp(src); |