| Index: third_party/WebKit/Source/core/html/HTMLImageElement.h
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLImageElement.h b/third_party/WebKit/Source/core/html/HTMLImageElement.h
|
| index a98b4ce86f0b417b217a88e49bba151d96932820..4f9c8eb3b98b5046517681c8d687b0949e35c7e6 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLImageElement.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLImageElement.h
|
| @@ -120,7 +120,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;
|
|
|
| protected:
|
| explicit HTMLImageElement(Document&, HTMLFormElement* = 0, bool createdByParser = false);
|
|
|