Index: src/images/SkImageDecoder_libwebp.cpp |
diff --git a/src/images/SkImageDecoder_libwebp.cpp b/src/images/SkImageDecoder_libwebp.cpp |
index 68014dd39247f0c663305584ad62ffde7ee978e7..ab58aef135baa4ae6b4c0bae267e3b4fb7d42199 100644 |
--- a/src/images/SkImageDecoder_libwebp.cpp |
+++ b/src/images/SkImageDecoder_libwebp.cpp |
@@ -521,7 +521,7 @@ private: |
bool SkWEBPImageEncoder::onEncode(SkWStream* stream, const SkBitmap& bm, |
int quality) { |
- const SkBitmap::Config config = bm.getConfig(); |
+ const SkBitmap::Config config = bm.config(); |
const ScanlineImporter scanline_import = ChooseImporter(config); |
if (NULL == scanline_import) { |
return false; |