| Index: third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h
|
| diff --git a/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h b/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h
|
| index 4cf7f23eaeb0cae45c9583eb7863b5741b8e0a9b..fcc2a3f2687c0e8e9e08c788f883c5698beb638c 100644
|
| --- a/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h
|
| +++ b/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h
|
| @@ -385,6 +385,8 @@ class PLATFORM_EXPORT ImageDecoder {
|
| // initFrameBuffer() before setting the status to FramePartial. For WebP,
|
| // however, the status needs to be FrameComplete since the complete buffer is
|
| // used to do alpha blending in WEBPImageDecoder::applyPostProcessing().
|
| + // And gif is also treated differently, since it relies on SkCodec which
|
| + // requires the complete required previous frame.
|
| //
|
| // Before calling this, verify that frame |index| exists by checking that
|
| // |index| is smaller than |m_frameBufferCache|.size().
|
|
|