Index: src/ports/SkImageDecoder_empty.cpp |
diff --git a/src/ports/SkImageDecoder_empty.cpp b/src/ports/SkImageDecoder_empty.cpp |
index d8f3315d2b563b39e2627646fdf4bc31c397569b..1759e36352578339705bcfd57690c3f8d1fd68f4 100644 |
--- a/src/ports/SkImageDecoder_empty.cpp |
+++ b/src/ports/SkImageDecoder_empty.cpp |
@@ -73,9 +73,11 @@ SkImageDecoder::Peeker* SkImageDecoder::setPeeker(Peeker*) { |
return NULL; |
} |
+#ifdef SK_SUPPORT_LEGACY_IMAGEDECODER_CHOOSER |
SkImageDecoder::Chooser* SkImageDecoder::setChooser(Chooser*) { |
return NULL; |
} |
+#endif |
SkBitmap::Allocator* SkImageDecoder::setAllocator(SkBitmap::Allocator*) { |
return NULL; |