Chromium Code Reviews| 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 5e8ded4798ce85ea8cb49a28410af12b6157069d..9dc14d660953d851555b90fce920f8a2801d067e 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/ImageSource.h |
| +++ b/third_party/WebKit/Source/platform/graphics/ImageSource.h |
| @@ -69,6 +69,8 @@ public: |
| // Returns the number of bytes of frame data actually cleared. |
| size_t clearCacheExceptFrame(size_t); |
| + bool hasData() const; |
| + PassRefPtr<SharedBuffer> data(); |
|
haraken
2016/07/13 02:18:30
Who uses these methods?
hajimehoshi
2016/07/13 07:36:22
data() is used by BitmapImage.
hasData() is not u
|
| void setData(SharedBuffer& data, bool allDataReceived); |
| String filenameExtension() const; |