diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/images/SkImageDecoder_libjpeg.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/images/SkImageDecoder_libjpeg.cpp b/src/images/SkImageDecoder_libjpeg.cpp index 082adca04a..4f78865154 100644 --- a/src/images/SkImageDecoder_libjpeg.cpp +++ b/src/images/SkImageDecoder_libjpeg.cpp @@ -345,11 +345,13 @@ static bool return_false(const jpeg_decompress_struct& cinfo, return false; } +#ifdef SK_BUILD_FOR_ANDROID static bool return_false(const jpeg_decompress_struct& cinfo, const SkBitmap& bm, const char caller[]) { print_jpeg_decoder_errors(cinfo, bm.width(), bm.height(), caller); return false; } +#endif static SkImageDecoder::Result return_failure(const jpeg_decompress_struct& cinfo, const SkBitmap& bm, const char caller[]) { |