Index: src/images/SkImageDecoder_libpng.cpp |
diff --git a/src/images/SkImageDecoder_libpng.cpp b/src/images/SkImageDecoder_libpng.cpp |
index fd09ce95b0eaafb27065e4c3a5c204583c101c70..2dead5872987fcc2ec0fb0ad2b4bd976670734de 100644 |
--- a/src/images/SkImageDecoder_libpng.cpp |
+++ b/src/images/SkImageDecoder_libpng.cpp |
@@ -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, |