| Index: src/effects/SkAlphaThresholdFilter.cpp
|
| diff --git a/src/effects/SkAlphaThresholdFilter.cpp b/src/effects/SkAlphaThresholdFilter.cpp
|
| index 6b55fdf90e45e534f1a296797c5114804aac25d4..1163f67b2de4a66da8fbe3eb071ffb52e5f3e2cd 100644
|
| --- a/src/effects/SkAlphaThresholdFilter.cpp
|
| +++ b/src/effects/SkAlphaThresholdFilter.cpp
|
| @@ -306,9 +306,9 @@ void SkAlphaThresholdFilterImpl::flatten(SkWriteBuffer& buffer) const {
|
| bool SkAlphaThresholdFilterImpl::onFilterImage(Proxy*, const SkBitmap& src,
|
| const SkMatrix& matrix, SkBitmap* dst,
|
| SkIPoint* offset) const {
|
| - SkASSERT(src.config() == SkBitmap::kARGB_8888_Config);
|
| + SkASSERT(src.colorType() == kPMColor_SkColorType);
|
|
|
| - if (src.config() != SkBitmap::kARGB_8888_Config) {
|
| + if (src.colorType() != kPMColor_SkColorType) {
|
| return false;
|
| }
|
|
|
|
|