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 8ad824902e14b471d8abb796132adcb51c6371c8..8e9de1fefe9c0e8d4390f71b779098b5c1fd06a2 100644 |
--- a/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h |
+++ b/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h |
@@ -386,6 +386,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 |
scroggo_chromium
2017/04/17 20:04:55
IIUC, previously, GIF and APNG required at least k
cblume
2017/04/20 03:42:26
Your understanding is correct.
The way I understan
scroggo_chromium
2017/04/21 20:09:31
It will help if you take a look at the two callsit
cblume
2017/04/21 23:47:38
Okay, I think I follow now.
So I understood that
scroggo_chromium
2017/04/24 15:06:53
I'm not sure that's the case. If this frame is par
|
+ // requires the complete required previous frame. |
// |
// Before calling this, verify that frame |index| exists by checking that |
// |index| is smaller than |m_frameBufferCache|.size(). |