Silence libpng warnings in SkImageDecoder

BUG=skia:

Review URL: https://codereview.chromium.org/1512043002
This commit is contained in:
msarett 2015-12-09 12:12:56 -08:00 committed by Commit bot
parent 3127c99986
commit 7596683275

View File

@ -37,11 +37,7 @@
#define png_flush_ptr_NULL nullptr
#endif
#if defined(SK_DEBUG)
#define DEFAULT_FOR_SUPPRESS_PNG_IMAGE_DECODER_WARNINGS false
#else // !defined(SK_DEBUG)
#define DEFAULT_FOR_SUPPRESS_PNG_IMAGE_DECODER_WARNINGS true
#endif // defined(SK_DEBUG)
SK_CONF_DECLARE(bool, c_suppressPNGImageDecoderWarnings,
"images.png.suppressDecoderWarnings",
DEFAULT_FOR_SUPPRESS_PNG_IMAGE_DECODER_WARNINGS,