| Index: third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h
|
| index 993f139e0e2e91c535d41f1b541e25f8f28b1cf5..0802a38e8b6396f118bc9a8e635280148aee7b53 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h
|
| @@ -59,6 +59,8 @@ public:
|
|
|
| sk_sp<SkImage> createFrameAtIndex(size_t);
|
|
|
| + bool clear();
|
| + bool isBufferCleared() const { return m_isBufferCleared; }
|
| PassRefPtr<SharedBuffer> data();
|
| void setData(PassRefPtr<SharedBuffer> data, bool allDataReceived);
|
|
|
| @@ -106,6 +108,7 @@ private:
|
| // Caches frame state information.
|
| Vector<DeferredFrameData> m_frameData;
|
| RefPtr<ImageFrameGenerator> m_frameGenerator;
|
| + bool m_isBufferCleared;
|
| };
|
|
|
| } // namespace blink
|
|
|