Index: src/images/SkImageEncoder_argb.cpp |
diff --git a/src/images/SkImageEncoder_argb.cpp b/src/images/SkImageEncoder_argb.cpp |
index 5abc23ce6fa08a23bac5bfe7be76c542ba06275f..97b741b8bf1d1717c31397f25e58ce6482a6ac59 100644 |
--- a/src/images/SkImageEncoder_argb.cpp |
+++ b/src/images/SkImageEncoder_argb.cpp |
@@ -87,7 +87,7 @@ static ScanlineImporter ChooseImporter(const SkBitmap::Config& config) { |
} |
bool SkARGBImageEncoder::onEncode(SkWStream* stream, const SkBitmap& bitmap, int) { |
- const SkBitmap::Config config = bitmap.getConfig(); |
+ const SkBitmap::Config config = bitmap.config(); |
const ScanlineImporter scanline_import = ChooseImporter(config); |
if (NULL == scanline_import) { |
return false; |