Index: src/image/SkSurface_Raster.cpp |
diff --git a/src/image/SkSurface_Raster.cpp b/src/image/SkSurface_Raster.cpp |
index e24c0e869950f81fa8ca0fc3c7901df2c0fedf72..74197379ce5ee9d0ca8cf9118b44986c9dd362ad 100644 |
--- a/src/image/SkSurface_Raster.cpp |
+++ b/src/image/SkSurface_Raster.cpp |
@@ -47,7 +47,7 @@ bool SkSurface_Raster::Valid(const SkImageInfo& info, size_t rowBytes) { |
case kRGB_565_SkColorType: |
shift = 1; |
break; |
- case kPMColor_SkColorType: |
+ case kN32_SkColorType: |
shift = 2; |
break; |
default: |