Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1043)

Unified Diff: Source/core/platform/image-decoders/png/PNGImageDecoder.cpp

Issue 50253002: Turn on -Werror on all non-Win platforms. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: foo Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/platform/image-decoders/png/PNGImageDecoder.cpp
diff --git a/Source/core/platform/image-decoders/png/PNGImageDecoder.cpp b/Source/core/platform/image-decoders/png/PNGImageDecoder.cpp
index f9e58e98c638c965c444433dfa553e60bc35d5c7..fff984807a22e2f19093231a68cdb4d724a707d0 100644
--- a/Source/core/platform/image-decoders/png/PNGImageDecoder.cpp
+++ b/Source/core/platform/image-decoders/png/PNGImageDecoder.cpp
@@ -262,6 +262,7 @@ bool PNGImageDecoder::setFailed()
return ImageDecoder::setFailed();
}
+#if USE(QCMSLIB)
static void readColorProfile(png_structp png, png_infop info, ColorProfile& colorProfile)
{
#ifdef PNG_iCCP_SUPPORTED
@@ -295,6 +296,7 @@ static void readColorProfile(png_structp png, png_infop info, ColorProfile& colo
UNUSED_PARAM(colorProfile);
#endif
}
+#endif
void PNGImageDecoder::headerAvailable()
{
« no previous file with comments | « Source/core/platform/image-decoders/jpeg/JPEGImageDecoder.cpp ('k') | Source/core/rendering/RenderThemeChromiumSkia.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698