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 85e16496781e8d65850d246c637f4cf21e41c203..f8648101f88053a7823a1318a568ba4aa582a9a5 100644 |
--- a/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h |
+++ b/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h |
@@ -381,6 +381,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(). |