Index: tools/skdiff_utils.cpp |
diff --git a/tools/skdiff_utils.cpp b/tools/skdiff_utils.cpp |
index 5c9aae275aab23dd7755f6490e774522ac0bb3c6..9157ac6b918c2568cce427ad968002a5d2b05281 100644 |
--- a/tools/skdiff_utils.cpp |
+++ b/tools/skdiff_utils.cpp |
@@ -63,7 +63,7 @@ bool get_bitmap(SkData* fileBits, DiffResource& resource, SkImageDecoder::Mode m |
SkAutoTDelete<SkImageDecoder> ad(codec); |
stream.rewind(); |
- if (!codec->decode(&stream, &resource.fBitmap, SkBitmap::kARGB_8888_Config, mode)) { |
+ if (!codec->decode(&stream, &resource.fBitmap, kN32_SkColorType, mode)) { |
SkDebugf("ERROR: codec failed for basePath <%s>\n", resource.fFullPath.c_str()); |
resource.fStatus = DiffResource::kCouldNotDecode_Status; |
return false; |