Index: third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp |
diff --git a/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp b/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp |
index 0b6c259c61961a007f904b0d52a208e347b48734..3fa60d11d50c035bdf450b49361117119586b94b 100644 |
--- a/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp |
+++ b/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp |
@@ -47,7 +47,8 @@ const char layoutTestResourcesDir[] = "LayoutTests/images/resources"; |
std::unique_ptr<ImageDecoder> createDecoder() { |
return wrapUnique(new GIFImageDecoder(ImageDecoder::AlphaNotPremultiplied, |
- ImageDecoder::ColorSpaceApplied, |
+ ImageDecoder::ColorSpaceTransformed, |
+ ImageDecoder::globalTargetColorSpace(), |
ImageDecoder::noDecodedImageByteLimit)); |
} |
@@ -447,11 +448,13 @@ TEST(GIFImageDecoderTest, bitmapAlphaType) { |
SharedBuffer::create(fullData->data(), kTruncateSize); |
std::unique_ptr<ImageDecoder> premulDecoder = wrapUnique(new GIFImageDecoder( |
- ImageDecoder::AlphaPremultiplied, ImageDecoder::ColorSpaceApplied, |
+ ImageDecoder::AlphaPremultiplied, ImageDecoder::ColorSpaceTransformed, |
+ ImageDecoder::globalTargetColorSpace(), |
ImageDecoder::noDecodedImageByteLimit)); |
std::unique_ptr<ImageDecoder> unpremulDecoder = |
wrapUnique(new GIFImageDecoder(ImageDecoder::AlphaNotPremultiplied, |
- ImageDecoder::ColorSpaceApplied, |
+ ImageDecoder::ColorSpaceTransformed, |
+ ImageDecoder::globalTargetColorSpace(), |
ImageDecoder::noDecodedImageByteLimit)); |
// Partially decoded frame => the frame alpha type is unknown and should |