| Index: third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.cpp
|
| diff --git a/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.cpp b/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.cpp
|
| index ca2cd692b0f94e0a8bf5520646f1c2c9d6c9ced7..f1bbef96ff542b5e4a04df08a2ca0809580a28a5 100644
|
| --- a/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.cpp
|
| +++ b/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.cpp
|
| @@ -461,11 +461,10 @@ bool WEBPImageDecoder::decodeSingleFrame(const uint8_t* dataBytes,
|
| colorSpaceForSkImages()))
|
| return setFailed();
|
| buffer.zeroFillPixelData();
|
| - buffer.setStatus(ImageFrame::FramePartial);
|
| // The buffer is transparent outside the decoded area while the image is
|
| // loading. The correct alpha value for the frame will be set when it is
|
| // fully decoded.
|
| - buffer.setHasAlpha(true);
|
| + buffer.setStatus(ImageFrame::FramePartial);
|
| buffer.setOriginalFrameRect(IntRect(IntPoint(), size()));
|
| }
|
|
|
|
|