Index: tools/skdiff_utils.cpp |
diff --git a/tools/skdiff_utils.cpp b/tools/skdiff_utils.cpp |
index 6f73a08831f1df50094b29aedff732c44a3171b7..2f052395c8c7c18fda9ed03c94ac03503a731a28 100644 |
--- a/tools/skdiff_utils.cpp |
+++ b/tools/skdiff_utils.cpp |
@@ -85,7 +85,7 @@ static void force_all_opaque(const SkBitmap& bitmap) { |
bool write_bitmap(const SkString& path, const SkBitmap& bitmap) { |
SkBitmap copy; |
- bitmap.copyTo(©, SkBitmap::kARGB_8888_Config); |
+ bitmap.copyTo(©, kPMColor_SkColorType); |
force_all_opaque(copy); |
return SkImageEncoder::EncodeFile(path.c_str(), copy, |
SkImageEncoder::kPNG_Type, 100); |