Index: src/codec/SkWbmpCodec.cpp |
diff --git a/src/codec/SkWbmpCodec.cpp b/src/codec/SkWbmpCodec.cpp |
index 1e165b4e1d6e6f426e19a64e7bd744dd4baeea8a..527565f6ab4484152f78909583b60400cacfccff 100644 |
--- a/src/codec/SkWbmpCodec.cpp |
+++ b/src/codec/SkWbmpCodec.cpp |
@@ -32,7 +32,8 @@ static inline void setup_color_table(SkColorType colorType, |
static inline bool valid_color_type(SkColorType colorType, SkAlphaType alphaType) { |
switch (colorType) { |
- case kN32_SkColorType: |
+ case kRGBA_8888_SkColorType: |
+ case kBGRA_8888_SkColorType: |
case kIndex_8_SkColorType: |
return true; |
case kGray_8_SkColorType: |