Index: Source/WebKit/chromium/src/WebImageSkia.cpp |
=================================================================== |
--- Source/WebKit/chromium/src/WebImageSkia.cpp (revision 138919) |
+++ Source/WebKit/chromium/src/WebImageSkia.cpp (working copy) |
@@ -50,7 +50,7 @@ |
WebImage WebImage::fromData(const WebData& data, const WebSize& desiredSize) |
{ |
RefPtr<SharedBuffer> buffer = PassRefPtr<SharedBuffer>(data); |
- OwnPtr<ImageDecoder> decoder(adoptPtr(ImageDecoder::create(*buffer.get(), ImageSource::AlphaPremultiplied, ImageSource::GammaAndColorProfileApplied))); |
+ OwnPtr<ImageDecoder> decoder(adoptPtr(ImageDecoder::create(*buffer.get(), ImageSource::AlphaPremultiplied, ImageSource::GammaAndColorProfileIgnored))); |
if (!decoder) |
return WebImage(); |
@@ -98,7 +98,7 @@ |
const size_t maxFrameCount = 8; |
RefPtr<SharedBuffer> buffer = PassRefPtr<SharedBuffer>(data); |
- OwnPtr<ImageDecoder> decoder(adoptPtr(ImageDecoder::create(*buffer.get(), ImageSource::AlphaPremultiplied, ImageSource::GammaAndColorProfileApplied))); |
+ OwnPtr<ImageDecoder> decoder(adoptPtr(ImageDecoder::create(*buffer.get(), ImageSource::AlphaPremultiplied, ImageSource::GammaAndColorProfileIgnored))); |
if (!decoder) |
return WebVector<WebImage>(); |