| Index: third_party/WebKit/Source/platform/graphics/ImageSource.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/ImageSource.cpp b/third_party/WebKit/Source/platform/graphics/ImageSource.cpp
|
| index 18ddce8b77d606926c5c4dce2f7dd673ce4bdc1a..d0b044c54bcc34fd8303958de092df46ebbcf119 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/ImageSource.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/ImageSource.cpp
|
| @@ -56,9 +56,9 @@ bool ImageSource::setData(PassRefPtr<SharedBuffer> passData,
|
| return true;
|
| }
|
|
|
| - m_decoder = DeferredImageDecoder::create(
|
| - data, allDataReceived, ImageDecoder::AlphaPremultiplied,
|
| - ImageDecoder::GammaAndColorProfileApplied);
|
| + m_decoder = DeferredImageDecoder::create(data, allDataReceived,
|
| + ImageDecoder::AlphaPremultiplied,
|
| + ImageDecoder::ColorSpaceApplied);
|
|
|
| // Insufficient data is not a failure.
|
| return m_decoder || !ImageDecoder::hasSufficientDataToSniffImageType(*data);
|
| @@ -73,7 +73,7 @@ bool ImageSource::isSizeAvailable() {
|
| }
|
|
|
| bool ImageSource::hasColorProfile() const {
|
| - return m_decoder && m_decoder->hasColorProfile();
|
| + return m_decoder && m_decoder->hasColorSpace();
|
| }
|
|
|
| IntSize ImageSource::size(
|
|
|