Index: gm/downsamplebitmap.cpp |
diff --git a/gm/downsamplebitmap.cpp b/gm/downsamplebitmap.cpp |
index 00b1a4b5879584405c4efd2e6a553c3059ce05b3..d7b93072c873d059b72c58dcb4815f05d7772fe1 100644 |
--- a/gm/downsamplebitmap.cpp |
+++ b/gm/downsamplebitmap.cpp |
@@ -183,8 +183,7 @@ class DownsampleBitmapImageGM: public DownsampleBitmapGM { |
} |
if (codec) { |
stream.rewind(); |
- codec->decode(&stream, &fBM, SkBitmap::kARGB_8888_Config, |
- SkImageDecoder::kDecodePixels_Mode); |
+ codec->decode(&stream, &fBM, kN32_SkColorType, SkImageDecoder::kDecodePixels_Mode); |
SkDELETE(codec); |
} else { |
fBM.allocN32Pixels(1, 1); |