Index: src/core/SkBitmap.cpp |
diff --git a/src/core/SkBitmap.cpp b/src/core/SkBitmap.cpp |
index 2a8c8e45e2d47508a058d0d5256d8d6d206b01ce..d19e9ca8b9b9d2eabdc15225cf03d55fb982a6c8 100644 |
--- a/src/core/SkBitmap.cpp |
+++ b/src/core/SkBitmap.cpp |
@@ -997,7 +997,8 @@ bool SkBitmap::canCopyTo(SkColorType dstColorType) const { |
switch (dstColorType) { |
case kAlpha_8_SkColorType: |
case kRGB_565_SkColorType: |
- case kN32_SkColorType: |
+ case kRGBA_8888_SkColorType: |
+ case kBGRA_8888_SkColorType: |
break; |
case kIndex_8_SkColorType: |
if (!sameConfigs) { |