| Index: third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h b/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h
|
| index 39d3c40b00713a5849d327db5aa0bc9b17454317..4f2e2c851556882b22e138142b82129baa2cd361 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h
|
| @@ -27,6 +27,7 @@
|
| #define ImageFrameGenerator_h
|
|
|
| #include "SkBitmap.h"
|
| +#include "SkData.h"
|
| #include "SkSize.h"
|
| #include "SkTypes.h"
|
| #include "platform/PlatformExport.h"
|
| @@ -75,8 +76,9 @@ public:
|
|
|
| void setData(PassRefPtr<SharedBuffer>, bool allDataReceived);
|
|
|
| - // Creates a new SharedBuffer containing the data received so far.
|
| - void copyData(RefPtr<SharedBuffer>*, bool* allDataReceived);
|
| + // Returns pointer to SkData. Caller needs to unref it, according to contract in
|
| + // SkImageGenerator::refEncodedData.
|
| + SkData* refSkData();
|
|
|
| SkISize getFullSize() const { return m_fullSize; }
|
|
|
|
|