| Index: third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h
|
| diff --git a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h
|
| index 36f9714170b576eb3bbf5d5b5e5ba0c5f8d559c4..5750fbce3146ca302d04f4241a8107a47c62aa81 100644
|
| --- a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h
|
| +++ b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h
|
| @@ -37,8 +37,8 @@ class CORE_EXPORT OffscreenCanvas final : public EventTargetWithInlineData,
|
| // IDL attributes
|
| unsigned width() const { return m_size.width(); }
|
| unsigned height() const { return m_size.height(); }
|
| - void setWidth(unsigned, ExceptionState&);
|
| - void setHeight(unsigned, ExceptionState&);
|
| + void setWidth(unsigned);
|
| + void setHeight(unsigned);
|
|
|
| // API Methods
|
| ImageBitmap* transferToImageBitmap(ScriptState*, ExceptionState&);
|
| @@ -47,6 +47,8 @@ class CORE_EXPORT OffscreenCanvas final : public EventTargetWithInlineData,
|
| ExceptionState&);
|
|
|
| IntSize size() const { return m_size; }
|
| + void setSize(const IntSize&);
|
| +
|
| void setPlaceholderCanvasId(int canvasId) {
|
| m_placeholderCanvasId = canvasId;
|
| }
|
|
|