Chromium Code Reviews| Index: third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.h |
| diff --git a/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.h b/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.h |
| index 3df9ba16767fa8a2e25c669b9e4a09cb28d0faf2..1f61f89debe4523bf66c6357ea1cf0a3b82ad42c 100644 |
| --- a/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.h |
| +++ b/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.h |
| @@ -50,6 +50,8 @@ public: |
| IntSize size() const override; |
| IntSize frameSizeAtIndex(size_t) const override; |
| bool setSize(unsigned width, unsigned height) override; |
| + bool frameIsCompleteAtIndex(size_t) const override; |
| + |
|
Peter Kasting
2016/06/14 17:55:25
Nit: No blank
|
| // CAUTION: setFailed() deletes all readers and decoders. Be careful to |
| // avoid accessing deleted memory, especially when calling this from |
| // inside BMPImageReader! |
| @@ -74,6 +76,7 @@ private: |
| uint16_t m_bitCount; |
| IntPoint m_hotSpot; |
| uint32_t m_imageOffset; |
| + uint32_t m_byteSize; |
| }; |
| // Returns true if |a| is a preferable icon entry to |b|. |