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..9b23203efa32ed268e8a8a5be4dcc9ecfa162e08 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 frameIsFullyReceivedAtIndex(size_t) const override; |
+ |
// 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|. |