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 12e0b2fb8364ec0dc2fda772ca5eee3b80fb3bac..3547c833077483c6192211a76531843be1b2273f 100644 |
--- a/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.cpp |
+++ b/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.cpp |
@@ -464,11 +464,10 @@ bool WEBPImageDecoder::DecodeSingleFrame(const uint8_t* data_bytes, |
ColorSpaceForSkImages())) |
return SetFailed(); |
buffer.ZeroFillPixelData(); |
- buffer.SetStatus(ImageFrame::kFramePartial); |
// 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::kFramePartial); |
buffer.SetOriginalFrameRect(IntRect(IntPoint(), Size())); |
} |