Index: src/image/SkImage.cpp |
diff --git a/src/image/SkImage.cpp b/src/image/SkImage.cpp |
index 4cbfd81bedbaa34f215d500399f9c8d536fea7dd..a567c41ca89f8afc844ef1425bf673d77044c6c5 100644 |
--- a/src/image/SkImage.cpp |
+++ b/src/image/SkImage.cpp |
@@ -90,7 +90,7 @@ |
static bool raster_canvas_supports(const SkImageInfo& info) { |
switch (info.fColorType) { |
- case kN32_SkColorType: |
+ case kPMColor_SkColorType: |
return kUnpremul_SkAlphaType != info.fAlphaType; |
case kRGB_565_SkColorType: |
return true; |