| Index: third_party/WebKit/Source/platform/graphics/ImageSource.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/ImageSource.h b/third_party/WebKit/Source/platform/graphics/ImageSource.h
|
| index f4b01c48961037830038e9360e5b5acd1ae62e5d..4766b8993c2c6e6ea37881d3fc5e859b30b3ccfe 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/ImageSource.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/ImageSource.h
|
| @@ -90,7 +90,7 @@ class PLATFORM_EXPORT ImageSource final {
|
| size_t frameCount() const;
|
|
|
| // Attempts to create the requested frame.
|
| - sk_sp<SkImage> createFrameAtIndex(size_t);
|
| + sk_sp<SkImage> createFrameAtIndex(size_t, sk_sp<SkColorSpace>);
|
|
|
| float frameDurationAtIndex(size_t) const;
|
| bool frameHasAlphaAtIndex(
|
| @@ -105,6 +105,8 @@ class PLATFORM_EXPORT ImageSource final {
|
|
|
| private:
|
| std::unique_ptr<DeferredImageDecoder> m_decoder;
|
| + RefPtr<SharedBuffer> m_data;
|
| + bool m_allDataReceived = false;
|
| };
|
|
|
| } // namespace blink
|
|
|