Index: third_party/WebKit/Source/core/html/ImageData.h |
diff --git a/third_party/WebKit/Source/core/html/ImageData.h b/third_party/WebKit/Source/core/html/ImageData.h |
index be0b419efa5cb297c7e3dd7fba2ef6caa70cb15a..c270c6e3dd3c3e37810e0e9b470d86a444676581 100644 |
--- a/third_party/WebKit/Source/core/html/ImageData.h |
+++ b/third_party/WebKit/Source/core/html/ImageData.h |
@@ -90,15 +90,15 @@ class CORE_EXPORT ImageData final : public GarbageCollectedFinalized<ImageData>, |
unsigned height, |
ExceptionState&); |
- ImageData* createImageData(unsigned width, |
- unsigned height, |
- const ImageDataColorSettings&, |
- ExceptionState&); |
- ImageData* createImageData(ImageDataArray&, |
- unsigned width, |
- unsigned height, |
- ImageDataColorSettings&, |
- ExceptionState&); |
+ static ImageData* CreateImageData(unsigned width, |
+ unsigned height, |
+ const ImageDataColorSettings&, |
+ ExceptionState&); |
+ static ImageData* CreateImageData(ImageDataArray&, |
+ unsigned width, |
+ unsigned height, |
+ ImageDataColorSettings&, |
+ ExceptionState&); |
void getColorSettings(ImageDataColorSettings& result) { |
result = color_settings_; |
@@ -131,6 +131,8 @@ class CORE_EXPORT ImageData final : public GarbageCollectedFinalized<ImageData>, |
const ImageDataArray& dataUnion() const { return data_union_; } |
void dataUnion(ImageDataArray& result) { result = data_union_; }; |
+ DOMArrayBufferBase* BufferBase() const; |
+ |
sk_sp<SkColorSpace> GetSkColorSpace(); |
bool ImageDataInCanvasColorSettings(const CanvasColorSpace&, |
const CanvasPixelFormat&, |