| Index: third_party/WebKit/Source/core/html/HTMLCanvasElement.h
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
|
| index 4abe0c5bb4bae9c84da0a7338843baa4a1dd8858..16c264090c7a769d24fa3580ecfd8c299367b9e9 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
|
| @@ -183,7 +183,7 @@ public:
|
|
|
| // ImageBitmapSource implementation
|
| IntSize bitmapSourceSize() const override;
|
| - ScriptPromise createImageBitmap(ScriptState*, EventTarget&, int sx, int sy, int sw, int sh, const ImageBitmapOptions&, ExceptionState&) override;
|
| + ScriptPromise createImageBitmap(ScriptState*, EventTarget&, Optional<IntRect> cropRect, const ImageBitmapOptions&, ExceptionState&) override;
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
|
|