aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ports/SkImageDecoder_CG.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ports/SkImageDecoder_CG.cpp')
-rw-r--r--src/ports/SkImageDecoder_CG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ports/SkImageDecoder_CG.cpp b/src/ports/SkImageDecoder_CG.cpp
index 9b93f81112..3f850b544d 100644
--- a/src/ports/SkImageDecoder_CG.cpp
+++ b/src/ports/SkImageDecoder_CG.cpp
@@ -219,7 +219,7 @@ bool SkImageEncoder_CG::onEncode(SkWStream* stream, const SkBitmap& bm,
// format.
// <Error>: CGImageDestinationFinalize image destination does not have enough images
// So instead we copy to 8888.
- if (bm.config() == SkBitmap::kARGB_4444_Config) {
+ if (bm.getConfig() == SkBitmap::kARGB_4444_Config) {
bm.copyTo(&bitmap8888, SkBitmap::kARGB_8888_Config);
bmPtr = &bitmap8888;
}