Index: src/ports/SkImageDecoder_empty.cpp |
diff --git a/src/ports/SkImageDecoder_empty.cpp b/src/ports/SkImageDecoder_empty.cpp |
index 1759e36352578339705bcfd57690c3f8d1fd68f4..74f9cc41e38bec3197927bfad6c160299ca10339 100644 |
--- a/src/ports/SkImageDecoder_empty.cpp |
+++ b/src/ports/SkImageDecoder_empty.cpp |
@@ -96,9 +96,11 @@ bool SkImageDecoder::cropBitmap(SkBitmap*, SkBitmap*, int, int, int, int, int, |
return false; |
} |
+#ifdef SK_SUPPORT_LEGACY_IMAGEDECODER_CHOOSER |
bool SkImageDecoder::chooseFromOneChoice(SkColorType, int, int) const { |
return false; |
} |
+#endif |
bool SkImageDecoder::allocPixelRef(SkBitmap*, SkColorTable*) const { |
return false; |