Index: src/core/SkBitmap.cpp |
diff --git a/src/core/SkBitmap.cpp b/src/core/SkBitmap.cpp |
index e77bbbd4e5e461cd6bd1030584ab1efd824b0ea8..0b586cb08133f31f6521822c602e0969de3adae4 100644 |
--- a/src/core/SkBitmap.cpp |
+++ b/src/core/SkBitmap.cpp |
@@ -182,8 +182,8 @@ SkPixelRef* SkBitmap::setPixelRef(SkPixelRef* pr, int dx, int dy) { |
SkASSERT(fInfo.height() <= prInfo.height()); |
SkASSERT(fInfo.colorType() == prInfo.colorType()); |
switch (prInfo.alphaType()) { |
- case kIgnore_SkAlphaType: |
- SkASSERT(fInfo.alphaType() == kIgnore_SkAlphaType); |
+ case kUnknown_SkAlphaType: |
+ SkASSERT(fInfo.alphaType() == kUnknown_SkAlphaType); |
break; |
case kOpaque_SkAlphaType: |
case kPremul_SkAlphaType: |