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

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

Issue 2508943003: Make OffscreenCanvas resizeable (Closed)
Patch Set: Created 4 years, 1 month 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 80c818118753db3368ac83352567e4f2ab02680c..c90f9e1bde71b228d34fee4f7aa4f1cb218da041 100644
--- a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.idl
+++ b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.idl
@@ -8,8 +8,8 @@
RuntimeEnabled=ExperimentalCanvasFeatures,
MeasureAs=OffscreenCanvas,
] interface OffscreenCanvas : EventTarget {
- [RaisesException=Setter, EnforceRange] attribute unsigned long width;
- [RaisesException=Setter, EnforceRange] attribute unsigned long height;
+ [EnforceRange] attribute unsigned long width;
+ [EnforceRange] attribute unsigned long height;
[CallWith=ScriptState, RaisesException] ImageBitmap transferToImageBitmap();
[RaisesException, CallWith=ScriptState] Promise<Blob> convertToBlob(optional ImageEncodeOptions options);

Powered by Google App Engine
This is Rietveld 408576698