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