Index: src/effects/SkMagnifierImageFilter.cpp |
diff --git a/src/effects/SkMagnifierImageFilter.cpp b/src/effects/SkMagnifierImageFilter.cpp |
index 51ade99e34ef866bc667ad926b63beb60d083889..5096640166b679152493bd11ea9d941798bb127f 100644 |
--- a/src/effects/SkMagnifierImageFilter.cpp |
+++ b/src/effects/SkMagnifierImageFilter.cpp |
@@ -282,11 +282,11 @@ |
bool SkMagnifierImageFilter::onFilterImage(Proxy*, const SkBitmap& src, |
const Context&, SkBitmap* dst, |
SkIPoint* offset) const { |
- SkASSERT(src.colorType() == kPMColor_SkColorType); |
+ SkASSERT(src.colorType() == kN32_SkColorType); |
SkASSERT(fSrcRect.width() < src.width()); |
SkASSERT(fSrcRect.height() < src.height()); |
- if ((src.colorType() != kPMColor_SkColorType) || |
+ if ((src.colorType() != kN32_SkColorType) || |
(fSrcRect.width() >= src.width()) || |
(fSrcRect.height() >= src.height())) { |
return false; |