| Index: third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp
|
| diff --git a/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp b/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp
|
| index 0355222f31fbed0b9070339883ba1116a650f125..90aea4e63d3bd276be70ab6b0cb0d740e411d677 100644
|
| --- a/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp
|
| +++ b/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp
|
| @@ -279,10 +279,9 @@ void ImageBitmapFactories::ImageBitmapLoader::decodeImageOnDecoderThread(
|
| ImageDecoder::AlphaOption alphaOp = ImageDecoder::AlphaPremultiplied;
|
| if (premultiplyAlphaOption == "none")
|
| alphaOp = ImageDecoder::AlphaNotPremultiplied;
|
| - ImageDecoder::GammaAndColorProfileOption colorSpaceOp =
|
| - ImageDecoder::GammaAndColorProfileApplied;
|
| + ImageDecoder::ColorSpaceOption colorSpaceOp = ImageDecoder::ColorSpaceApplied;
|
| if (colorSpaceConversionOption == "none")
|
| - colorSpaceOp = ImageDecoder::GammaAndColorProfileIgnored;
|
| + colorSpaceOp = ImageDecoder::ColorSpaceIgnored;
|
| std::unique_ptr<ImageDecoder> decoder(ImageDecoder::create(
|
| SegmentReader::createFromSkData(SkData::MakeWithoutCopy(
|
| arrayBuffer->data(), arrayBuffer->byteLength())),
|
|
|