Index: src/ports/SkImageDecoder_WIC.cpp |
diff --git a/src/ports/SkImageDecoder_WIC.cpp b/src/ports/SkImageDecoder_WIC.cpp |
index 74b2c391959a7a0b3456702c1e41ca27a4ad8a93..3309af4685cc9652643065fa272b9d129b0a0431 100644 |
--- a/src/ports/SkImageDecoder_WIC.cpp |
+++ b/src/ports/SkImageDecoder_WIC.cpp |
@@ -186,7 +186,7 @@ bool SkImageDecoder_WIC::decodeStream(SkStream* stream, SkBitmap* bm, WICModes w |
//Exit early if we're only looking for the bitmap bounds. |
if (SUCCEEDED(hr)) { |
- bm->setConfig(SkImageInfo::MakeN32Premul(width, height)); |
+ bm->setInfo(SkImageInfo::MakeN32Premul(width, height)); |
if (kDecodeBounds_WICMode == wicMode) { |
return true; |
} |