Index: src/utils/mac/SkCreateCGImageRef.cpp |
diff --git a/src/utils/mac/SkCreateCGImageRef.cpp b/src/utils/mac/SkCreateCGImageRef.cpp |
index 00166e9ed7488b4976d8c426a90061a7d3b40fd3..7687c3c7e4a05b4688977eddf10719577ab714a9 100644 |
--- a/src/utils/mac/SkCreateCGImageRef.cpp |
+++ b/src/utils/mac/SkCreateCGImageRef.cpp |
@@ -34,7 +34,7 @@ |
*upscaleTo32 = true; |
} |
// fall through |
- case kN32_SkColorType: |
+ case kPMColor_SkColorType: |
*bitsPerComponent = 8; |
#if SK_PMCOLOR_BYTE_ORDER(R,G,B,A) |
*info = kCGBitmapByteOrder32Big; |
@@ -94,7 +94,7 @@ |
copy = new SkBitmap; |
// here we make a ceep copy of the pixels, since CG won't take our |
// 565 directly |
- bm.copyTo(copy, kN32_SkColorType); |
+ bm.copyTo(copy, kPMColor_SkColorType); |
} else { |
copy = new SkBitmap(bm); |
} |