Index: third_party/WebKit/Source/web/WebImageDecoder.cpp |
diff --git a/third_party/WebKit/Source/web/WebImageDecoder.cpp b/third_party/WebKit/Source/web/WebImageDecoder.cpp |
index b29cbbeb172379f5cea97623e8b8dec277b6c57c..ee7877639da645ac72e38fbe84fd04f59138e13c 100644 |
--- a/third_party/WebKit/Source/web/WebImageDecoder.cpp |
+++ b/third_party/WebKit/Source/web/WebImageDecoder.cpp |
@@ -50,14 +50,14 @@ void WebImageDecoder::init(Type type) { |
switch (type) { |
case TypeBMP: |
- m_private = |
- new BMPImageDecoder(ImageDecoder::AlphaPremultiplied, |
- ImageDecoder::ColorSpaceApplied, maxDecodedBytes); |
+ m_private = new BMPImageDecoder( |
+ ImageDecoder::AlphaPremultiplied, ImageDecoder::ColorSpaceTransformed, |
+ ImageDecoder::targetColorSpaceForTesting(), maxDecodedBytes); |
break; |
case TypeICO: |
- m_private = |
- new ICOImageDecoder(ImageDecoder::AlphaPremultiplied, |
- ImageDecoder::ColorSpaceApplied, maxDecodedBytes); |
+ m_private = new ICOImageDecoder( |
+ ImageDecoder::AlphaPremultiplied, ImageDecoder::ColorSpaceTransformed, |
+ ImageDecoder::targetColorSpaceForTesting(), maxDecodedBytes); |
break; |
} |
} |