Chromium Code Reviews| Index: Source/core/platform/image-decoders/gif/GIFImageDecoder.h |
| diff --git a/Source/core/platform/image-decoders/gif/GIFImageDecoder.h b/Source/core/platform/image-decoders/gif/GIFImageDecoder.h |
| index a4728d33a7368d77431bcc7e24d721877af2999e..b05f2a177f47ff3b91de6830e77d54bb26fb957d 100644 |
| --- a/Source/core/platform/image-decoders/gif/GIFImageDecoder.h |
| +++ b/Source/core/platform/image-decoders/gif/GIFImageDecoder.h |
| @@ -49,6 +49,8 @@ namespace WebCore { |
| virtual size_t frameCount(); |
| virtual int repetitionCount() const; |
| virtual ImageFrame* frameBufferAtIndex(size_t index); |
| + virtual bool frameIsCompleteAtIndex(size_t) const; |
| + virtual float frameDurationAtIndex(size_t) const; |
|
Alpha Left Google
2013/04/26 20:43:36
Done. Now it has a default implementation.
|
| // CAUTION: setFailed() deletes |m_reader|. Be careful to avoid |
| // accessing deleted memory, especially when calling this from inside |
| // GIFImageReader! |