| 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 f797142e18c6650f44107b7eebb174d49afdd8b0..57bcafff1af47b973eb35a463d1225c697d71368 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTestWoPlatform.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTestWoPlatform.cpp
|
| @@ -104,9 +104,10 @@ TEST(DeferredImageDecoderTestWoPlatform, fragmentedSignature) {
|
| // Truncated signature (only 1 byte). Decoder instantiation should fail.
|
| RefPtr<SharedBuffer> buffer = SharedBuffer::create<size_t>(data, 1u);
|
| EXPECT_FALSE(ImageDecoder::hasSufficientDataToSniffImageType(*buffer));
|
| - EXPECT_EQ(nullptr, DeferredImageDecoder::create(
|
| - buffer, false, ImageDecoder::AlphaPremultiplied,
|
| - ColorBehavior::ignore()));
|
| + EXPECT_EQ(nullptr,
|
| + DeferredImageDecoder::create(buffer, false,
|
| + ImageDecoder::AlphaPremultiplied,
|
| + ColorBehavior::ignore()));
|
|
|
| // Append the rest of the data. We should be able to sniff the signature
|
| // now, even if segmented.
|
|
|