| Index: third_party/WebKit/Source/platform/image-decoders/ImageDecoder.cpp
|
| diff --git a/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.cpp b/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.cpp
|
| index dc92826df7f3ef23d443bb621ee2359fad6959df..faa52cc5b1102dfcdce1c6356471fbf1a07bbf60 100644
|
| --- a/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.cpp
|
| +++ b/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.cpp
|
| @@ -82,6 +82,13 @@ inline bool matchesBMPSignature(char* contents)
|
| return !memcmp(contents, "BM", 2);
|
| }
|
|
|
| +void ImageDecoder::setOutputDeviceColorProfile(const ColorProfile& colorProfile)
|
| +{
|
| +#if USE(QCMSLIB)
|
| + qcmsOutputDeviceProfile(&colorProfile);
|
| +#endif
|
| +}
|
| +
|
| PassOwnPtr<ImageDecoder> ImageDecoder::create(const SharedBuffer& data, AlphaOption alphaOption, GammaAndColorProfileOption colorOptions)
|
| {
|
| const size_t longestSignatureLength = sizeof("RIFF????WEBPVP") - 1;
|
|
|