| Index: third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTestWoPlatform.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTestWoPlatform.cpp b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTestWoPlatform.cpp
|
| index 60892fe5bc6591ebb3c2d7bfaa8e72722593a72b..5355271795c0112dd63bd0c7db5929076f4a4f2b 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTestWoPlatform.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTestWoPlatform.cpp
|
| @@ -40,7 +40,7 @@ static void mixImages(const char* fileName,
|
| SharedBuffer::create(file->data(), bytesForFirstFrame);
|
| std::unique_ptr<DeferredImageDecoder> decoder = DeferredImageDecoder::create(
|
| partialFile, false, ImageDecoder::AlphaPremultiplied,
|
| - ImageDecoder::GammaAndColorProfileIgnored);
|
| + ImageDecoder::ColorSpaceIgnored);
|
| ASSERT_NE(decoder, nullptr);
|
| sk_sp<SkImage> partialImage = decoder->createFrameAtIndex(0);
|
|
|
| @@ -101,7 +101,7 @@ TEST(DeferredImageDecoderTestWoPlatform, fragmentedSignature) {
|
| EXPECT_FALSE(ImageDecoder::hasSufficientDataToSniffImageType(*buffer));
|
| EXPECT_EQ(nullptr, DeferredImageDecoder::create(
|
| buffer, false, ImageDecoder::AlphaPremultiplied,
|
| - ImageDecoder::GammaAndColorProfileIgnored));
|
| + ImageDecoder::ColorSpaceIgnored));
|
|
|
| // Append the rest of the data. We should be able to sniff the signature
|
| // now, even if segmented.
|
| @@ -110,7 +110,7 @@ TEST(DeferredImageDecoderTestWoPlatform, fragmentedSignature) {
|
| std::unique_ptr<DeferredImageDecoder> decoder =
|
| DeferredImageDecoder::create(buffer, false,
|
| ImageDecoder::AlphaPremultiplied,
|
| - ImageDecoder::GammaAndColorProfileIgnored);
|
| + ImageDecoder::ColorSpaceIgnored);
|
| ASSERT_NE(decoder, nullptr);
|
| EXPECT_TRUE(String(testFiles[i]).endsWith(decoder->filenameExtension()));
|
| }
|
|
|