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

Unified Diff: third_party/WebKit/Source/modules/imagebitmap/ImageBitmapRenderingContext.idl

Issue 2251493003: Adding nullability support to ImageBitmapRenderingContext.transferImageBitmap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/modules/imagebitmap/ImageBitmapRenderingContext.idl
diff --git a/third_party/WebKit/Source/modules/imagebitmap/ImageBitmapRenderingContext.idl b/third_party/WebKit/Source/modules/imagebitmap/ImageBitmapRenderingContext.idl
index 3689a4177f40dd18aca73c3463df40c769475f54..33a62fff127318efdd7aa51bb96177d7a6d1fc3c 100644
--- a/third_party/WebKit/Source/modules/imagebitmap/ImageBitmapRenderingContext.idl
+++ b/third_party/WebKit/Source/modules/imagebitmap/ImageBitmapRenderingContext.idl
@@ -9,5 +9,5 @@
// back-reference to the canvas
readonly attribute HTMLCanvasElement canvas;
- void transferFromImageBitmap(ImageBitmap bitmap);
+ void transferFromImageBitmap([EnforceRange] ImageBitmap? bitmap);
Justin Novosad 2016/08/16 19:38:55 Why EnforceRange? I don't even understand what th
zakerinasab 2016/08/16 20:34:49 Corrected.
};

Powered by Google App Engine
This is Rietveld 408576698