Index: third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvasModules.idl |
diff --git a/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvasModules.idl b/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvasModules.idl |
index 42dccec506d7122e84cabd3eaf8c3291c23b6806..e613df0b54501b0a406453a932f3744fc5fb89bb 100644 |
--- a/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvasModules.idl |
+++ b/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvasModules.idl |
@@ -8,4 +8,6 @@ typedef (OffscreenCanvasRenderingContext2D or |
partial interface OffscreenCanvas { |
[CallWith=ScriptState, RaisesException, RuntimeEnabled=ExperimentalCanvasFeatures] OffscreenRenderingContext? getContext(DOMString contextId, optional CanvasContextCreationAttributes attributes); |
+ |
+ [RaisesException, CallWith=ScriptState] Promise<Blob> convertToBlob(optional ImageEncodeOptions options); |
}; |