Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(541)

Unified Diff: third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.idl

Issue 2420203002: Implement convertToBlob() in OffscreenCanvas (Closed)
Patch Set: rebase and fix global-interface-listing-service-worker-expected.txt Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.idl
diff --git a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.idl b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.idl
index 88f5c5bf562c3bf728a843938ef12ea1709d4ef6..0f1396e6d575bd38a7c6480e2b38718eb5223444 100644
--- a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.idl
+++ b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.idl
@@ -12,4 +12,5 @@
[RaisesException=Setter, EnforceRange] attribute unsigned long height;
[RaisesException] ImageBitmap transferToImageBitmap();
+ [RaisesException, CallWith=ScriptState] Promise<Blob> convertToBlob(optional ImageEncodeOptions options);
};

Powered by Google App Engine
This is Rietveld 408576698