Index: src/codec/SkCodec_libico.cpp |
diff --git a/src/codec/SkCodec_libico.cpp b/src/codec/SkCodec_libico.cpp |
index ec92937f5431b3352361ba148da8548307458bf6..798169d82b344902571d996d34c127818b3576e7 100644 |
--- a/src/codec/SkCodec_libico.cpp |
+++ b/src/codec/SkCodec_libico.cpp |
@@ -272,7 +272,7 @@ SkCodec::Result SkIcoCodec::onGetPixels(const SkImageInfo& dstInfo, |
break; |
} |
SkImageInfo info = dstInfo.makeAlphaType(embeddedAlpha); |
- result = embeddedCodec->getPixels(dstInfo, dst, dstRowBytes, &opts, ct, ptr); |
+ result = embeddedCodec->getPixels(info, dst, dstRowBytes, &opts, ct, ptr); |
// On a fatal error, keep trying to find an image to decode |
if (kInvalidConversion == result || kInvalidInput == result || |