Index: tools/skpdiff/SkDiffContext.cpp |
diff --git a/tools/skpdiff/SkDiffContext.cpp b/tools/skpdiff/SkDiffContext.cpp |
index 6f0b09f0822e70c7d8d78626b945e0d9d45248ce..b9c55c1fa76d9d521935f8f97b4bd8c308bb4d42 100644 |
--- a/tools/skpdiff/SkDiffContext.cpp |
+++ b/tools/skpdiff/SkDiffContext.cpp |
@@ -122,7 +122,7 @@ |
// compute the image diff and output it |
SkBitmap copy; |
- diffData.fResult.poiAlphaMask.copyTo(©, kN32_SkColorType); |
+ diffData.fResult.poiAlphaMask.copyTo(©, kPMColor_SkColorType); |
SkImageEncoder::EncodeFile(newRecord->fDifferencePath.c_str(), copy, |
SkImageEncoder::kPNG_Type, 100); |