Index: gm/gmmain.cpp |
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp |
index 52e7332b64da25e453369ae95c851b77595a3bf8..03556e70e97bc99aa7d27978873db956c0fc0bd8 100644 |
--- a/gm/gmmain.cpp |
+++ b/gm/gmmain.cpp |
@@ -268,7 +268,7 @@ public: |
static void force_all_opaque(const SkBitmap& bitmap) { |
SkColorType colorType = bitmap.colorType(); |
switch (colorType) { |
- case kPMColor_SkColorType: |
+ case kN32_SkColorType: |
force_all_opaque_8888(bitmap); |
break; |
case kRGB_565_SkColorType: |
@@ -294,7 +294,7 @@ public: |
// from this method, we should be able to get rid of the |
// transformation to 8888 format also. |
SkBitmap copy; |
- bitmap.copyTo(©, kPMColor_SkColorType); |
+ bitmap.copyTo(©, kN32_SkColorType); |
if (!SkImageEncoder::EncodeFile(path.c_str(), copy, |
SkImageEncoder::kPNG_Type, |
100)) { |
@@ -740,8 +740,8 @@ public: |
return; |
} |
- if ((kPMColor_SkColorType != expectedBitmap.colorType()) || |
- (kPMColor_SkColorType != actualBitmap.colorType())) { |
+ if ((kN32_SkColorType != expectedBitmap.colorType()) || |
+ (kN32_SkColorType != actualBitmap.colorType())) { |
SkDebugf("---- %s: not computing max per-channel pixel mismatch because non-8888\n", |
testName); |
return; |