| 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()
|
| {
|
|
|