Index: src/core/SkImageInfo.cpp |
diff --git a/src/core/SkImageInfo.cpp b/src/core/SkImageInfo.cpp |
index 0e8b0b1292fab1ab702f32a8a1336f1400cec1f5..8429ef28c3b8de2f8056c6df64ca32f55c7e02d0 100644 |
--- a/src/core/SkImageInfo.cpp |
+++ b/src/core/SkImageInfo.cpp |
@@ -66,6 +66,7 @@ bool SkColorTypeValidateAlphaType(SkColorType colorType, SkAlphaType alphaType, |
} |
break; |
case kRGB_565_SkColorType: |
+ case kGray_8_SkColorType: |
alphaType = kOpaque_SkAlphaType; |
break; |
default: |