Index: gm/gmmain.cpp |
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp |
index c52c5d843b784a8319563d74998457a1bb4f5717..662e9814840b676dd2035b9948bae488cc96dbd8 100644 |
--- a/gm/gmmain.cpp |
+++ b/gm/gmmain.cpp |
@@ -293,7 +293,7 @@ public: |
// from this method, we should be able to get rid of the |
// transformation to 8888 format also. |
SkBitmap copy; |
- bitmap.copyTo(©, SkBitmap::kARGB_8888_Config); |
+ bitmap.copyTo(©, kPMColor_SkColorType); |
if (!SkImageEncoder::EncodeFile(path.c_str(), copy, |
SkImageEncoder::kPNG_Type, |
100)) { |