Index: src/utils/ios/SkImageDecoder_iOS.mm |
diff --git a/src/utils/ios/SkImageDecoder_iOS.mm b/src/utils/ios/SkImageDecoder_iOS.mm |
index 5e4261ff1db08cd66e90e1d0dff76fda88be70a0..021fa253093590703f72081775cf2ca4731281f3 100755 |
--- a/src/utils/ios/SkImageDecoder_iOS.mm |
+++ b/src/utils/ios/SkImageDecoder_iOS.mm |
@@ -29,8 +29,7 @@ bool SkImageDecoder_iOS::onDecode(SkStream* stream, SkBitmap* bm, Mode mode) { |
const int width = uimage.size.width; |
const int height = uimage.size.height; |
- SkColorType ct = SkBitmapConfigToColorType(SkBitmap::kARGB_8888_Config); |
- bm->setInfo(SkImageInfo::Make(width, height, ct, kPremul_SkAlphaType), 0); |
+ bm->setInfo(SkImageInfo::MakeN32(width, height, kPremul_SkAlphaType), 0); |
if (SkImageDecoder::kDecodeBounds_Mode == mode) { |
return true; |
} |