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

Unified Diff: Source/core/platform/image-decoders/jpeg/JPEGImageDecoder.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/jpeg/JPEGImageDecoder.cpp
diff --git a/Source/core/platform/image-decoders/jpeg/JPEGImageDecoder.cpp b/Source/core/platform/image-decoders/jpeg/JPEGImageDecoder.cpp
index 9e01533b05bdbfe00586cb94072846e753274cd4..8dbdb5072f2988d6dfc88cf1fe2235770d7884c8 100644
--- a/Source/core/platform/image-decoders/jpeg/JPEGImageDecoder.cpp
+++ b/Source/core/platform/image-decoders/jpeg/JPEGImageDecoder.cpp
@@ -214,6 +214,7 @@ static ImageOrientation readImageOrientation(jpeg_decompress_struct* info)
return ImageOrientation();
}
+#if USE(QCMSLIB)
static void readColorProfile(jpeg_decompress_struct* info, ColorProfile& colorProfile)
{
#if USE(ICCJPEG)
@@ -242,6 +243,7 @@ static void readColorProfile(jpeg_decompress_struct* info, ColorProfile& colorPr
UNUSED_PARAM(colorProfile);
#endif
}
+#endif
class JPEGImageReader {
WTF_MAKE_FAST_ALLOCATED;
« no previous file with comments | « Source/core/platform/ScrollAnimatorNone.cpp ('k') | Source/core/platform/image-decoders/png/PNGImageDecoder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698