Index: src/lazy/SkDiscardablePixelRef.cpp |
diff --git a/src/lazy/SkDiscardablePixelRef.cpp b/src/lazy/SkDiscardablePixelRef.cpp |
index 0878d00335d09e7fb7da12c64d2c0a7c02ed1ce2..56b94b734e310d12e9febd22d15177453cc42801 100644 |
--- a/src/lazy/SkDiscardablePixelRef.cpp |
+++ b/src/lazy/SkDiscardablePixelRef.cpp |
@@ -87,7 +87,7 @@ bool SkInstallDiscardablePixelRef(SkImageGenerator* generator, |
|| (!dst->setConfig(info, 0))) { |
return false; |
} |
- SkASSERT(dst->config() != SkBitmap::kNo_Config); |
+ SkASSERT(dst->colorType() != kUnknown_SkColorType); |
if (dst->empty()) { // Use a normal pixelref. |
return dst->allocPixels(); |
} |