Index: src/images/SkImageDecoder_libwebp.cpp |
diff --git a/src/images/SkImageDecoder_libwebp.cpp b/src/images/SkImageDecoder_libwebp.cpp |
index 02990258ebe84dbce0f46c5436a95b24b8bfe8b2..353eabf015163ecf6f92ae8249a13ed8c71e4111 100644 |
--- a/src/images/SkImageDecoder_libwebp.cpp |
+++ b/src/images/SkImageDecoder_libwebp.cpp |
@@ -311,7 +311,7 @@ bool SkWEBPImageDecoder::setDecodeConfig(SkBitmap* decodedBitmap, |
} else { |
info.fAlphaType = kOpaque_SkAlphaType; |
} |
- return decodedBitmap->setConfig(info); |
+ return decodedBitmap->setInfo(info); |
} |
bool SkWEBPImageDecoder::onBuildTileIndex(SkStreamRewindable* stream, |