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

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

Issue 2411703004: Add usage counter to OffscreenCanvas API calls (Closed)
Patch Set: fix compile error 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 0f1396e6d575bd38a7c6480e2b38718eb5223444..2e3c74dbd34a0be5aa780408c6129d928e599702 100644
--- a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.idl
+++ b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.idl
@@ -11,6 +11,6 @@
[RaisesException=Setter, EnforceRange] attribute unsigned long width;
[RaisesException=Setter, EnforceRange] attribute unsigned long height;
- [RaisesException] ImageBitmap transferToImageBitmap();
+ [CallWith=ScriptState, RaisesException] ImageBitmap transferToImageBitmap();
[RaisesException, CallWith=ScriptState] Promise<Blob> convertToBlob(optional ImageEncodeOptions options);
};

Powered by Google App Engine
This is Rietveld 408576698