Index: experimental/PdfViewer/chop_transparency_main.cpp |
diff --git a/experimental/PdfViewer/chop_transparency_main.cpp b/experimental/PdfViewer/chop_transparency_main.cpp |
index b6a104cc59d8ad5988b509bd30566d4d09bb90a2..3f4b1fdee2df041af4bfadf49ec83dd9e32f7ccb 100644 |
--- a/experimental/PdfViewer/chop_transparency_main.cpp |
+++ b/experimental/PdfViewer/chop_transparency_main.cpp |
@@ -108,8 +108,7 @@ static void decodeFileAndWrite(const char srcPath[]) { |
stream.rewind(); |
- if (!codec->decode(&stream, &bitmap, SkBitmap::kARGB_8888_Config, |
- SkImageDecoder::kDecodePixels_Mode)) { |
+ if (!codec->decode(&stream, &bitmap, kN32_SkColorType, SkImageDecoder::kDecodePixels_Mode)) { |
return; |
} |