Index: third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.idl |
diff --git a/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.idl b/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.idl |
index 02b3425e417257d4f5b401faf374a8a9336bc00b..fd5341cfd763568b02ab1f3473aebbc8593b9a38 100644 |
--- a/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.idl |
+++ b/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.idl |
@@ -42,12 +42,10 @@ typedef (HTMLImageElement or |
NoInterfaceObject, // Always used on target of 'implements' |
Exposed=(Window,Worker), |
] interface ImageBitmapFactories { |
- [CallWith=ScriptState, RaisesException] Promise createImageBitmap(ImageBitmapSource imageBitmap); |
- [CallWith=ScriptState, RaisesException, RuntimeEnabled=ExperimentalCanvasFeatures] Promise createImageBitmap( |
- ImageBitmapSource imageBitmap, ImageBitmapOptions options); |
- [CallWith=ScriptState, RaisesException] Promise createImageBitmap(ImageBitmapSource imageBitmap, long sx, long sy, long sw, long sh); |
- [CallWith=ScriptState, RaisesException, RuntimeEnabled=ExperimentalCanvasFeatures] Promise createImageBitmap( |
- ImageBitmapSource imageBitmap, long sx, long sy, long sw, long sh, ImageBitmapOptions options); |
+ [CallWith=ScriptState, RaisesException] Promise createImageBitmap( |
+ ImageBitmapSource imageBitmap, optional ImageBitmapOptions options); |
+ [CallWith=ScriptState, RaisesException] Promise createImageBitmap( |
+ ImageBitmapSource imageBitmap, long sx, long sy, long sw, long sh, optional ImageBitmapOptions options); |
}; |
Window implements ImageBitmapFactories; |