Index: gm/filterbitmap.cpp |
diff --git a/gm/filterbitmap.cpp b/gm/filterbitmap.cpp |
index c650902b4b0aafac59e69b10516839bd83f35228..351fb2aaf752c08eaea26ab80cf8cf0ca1bc8893 100644 |
--- a/gm/filterbitmap.cpp |
+++ b/gm/filterbitmap.cpp |
@@ -204,8 +204,7 @@ class FilterBitmapImageGM: public FilterBitmapGM { |
} |
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); |