Chromium Code Reviews| Index: src/images/SkImageDecoder_libpng.cpp |
| diff --git a/src/images/SkImageDecoder_libpng.cpp b/src/images/SkImageDecoder_libpng.cpp |
| index fd09ce95b0eaafb27065e4c3a5c204583c101c70..39ff9ce52a1c0d29bf3a78650c3d4dfd686f9f34 100644 |
| --- a/src/images/SkImageDecoder_libpng.cpp |
| +++ b/src/images/SkImageDecoder_libpng.cpp |
| @@ -37,7 +37,7 @@ |
| #define png_flush_ptr_NULL nullptr |
| #endif |
| -#if defined(SK_DEBUG) |
| +#if defined(SK_PRINT_CODEC_MESSAGES) |
|
scroggo
2015/12/09 19:20:24
Does this file include SkCodecPriv?
Given that we
msarett
2015/12/09 19:23:41
No. It only needs SkCodecPriv if we want to use S
|
| #define DEFAULT_FOR_SUPPRESS_PNG_IMAGE_DECODER_WARNINGS false |
| #else // !defined(SK_DEBUG) |
| #define DEFAULT_FOR_SUPPRESS_PNG_IMAGE_DECODER_WARNINGS true |