| Index: third_party/WebKit/Source/platform/graphics/BitmapImage.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/BitmapImage.h b/third_party/WebKit/Source/platform/graphics/BitmapImage.h
|
| index 98a16777d85da40c6755aff344e8c113df2502ec..6497fbc45d14811b9a416b4a392cd9771a687a3c 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/BitmapImage.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/BitmapImage.h
|
| @@ -65,6 +65,7 @@ public:
|
| IntSize sizeRespectingOrientation() const;
|
| bool getHotSpot(IntPoint&) const override;
|
| String filenameExtension() const override;
|
| + bool setData(PassRefPtr<SharedBuffer> data, bool allDataReceived) override;
|
| bool dataChanged(bool allDataReceived) override;
|
|
|
| bool isAllDataReceived() const { return m_allDataReceived; }
|
| @@ -125,6 +126,8 @@ private:
|
| // some room in the image cache.
|
| void destroyDecodedData() override;
|
|
|
| + PassRefPtr<SharedBuffer> data() override;
|
| +
|
| // Notifies observers that the memory footprint has changed.
|
| void notifyMemoryChanged();
|
|
|
| @@ -154,6 +157,7 @@ private:
|
| // Returns whether the animation was advanced.
|
| bool internalAdvanceAnimation(bool skippingFrames);
|
|
|
| + RefPtr<SharedBuffer> m_temporaryEncodedImageData;
|
| ImageSource m_source;
|
| mutable IntSize m_size; // The size to use for the overall image (will just be the size of the first image).
|
| mutable IntSize m_sizeRespectingOrientation;
|
|
|