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 bf81950db69cf8a3c599f667841b3b3caf813acc..e76a1ca5052f70f7807cd3ce3f650af11fa4bc0a 100644 |
--- a/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h |
+++ b/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h |
@@ -390,6 +390,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(). |