Index: tools/render_pictures_main.cpp |
diff --git a/tools/render_pictures_main.cpp b/tools/render_pictures_main.cpp |
index ec21cb7da3c5d6b251e40fb6af8af94bb8c4caf4..850053cfc6f9b258469ac8ab3077f81cd378b2f8 100644 |
--- a/tools/render_pictures_main.cpp |
+++ b/tools/render_pictures_main.cpp |
@@ -130,7 +130,7 @@ static bool write_image_to_file(const void* buffer, size_t size, SkBitmap* bitma |
SkDebugf("Failed to write encoded data to \"%s\"\n", outPath.c_str()); |
} |
// Put in a dummy bitmap. |
- return SkImageDecoder::DecodeStream(&memStream, bitmap, SkBitmap::kNo_Config, |
+ return SkImageDecoder::DecodeStream(&memStream, bitmap, kUnknown_SkColorType, |
SkImageDecoder::kDecodeBounds_Mode); |
} |