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

Unified Diff: Source/modules/imagebitmap/WindowImageBitmapFactories.idl

Issue 240103002: Use StrictTypeChecking for ImageBitmap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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
« no previous file with comments | « Source/modules/imagebitmap/ImageBitmapFactories.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/imagebitmap/WindowImageBitmapFactories.idl
diff --git a/Source/modules/imagebitmap/WindowImageBitmapFactories.idl b/Source/modules/imagebitmap/WindowImageBitmapFactories.idl
index 419649fd0e22b6fd7986b2310ba52d5ff220b2ff..94b68fdd020659c577fdce3c0b19535e1031cfdc 100644
--- a/Source/modules/imagebitmap/WindowImageBitmapFactories.idl
+++ b/Source/modules/imagebitmap/WindowImageBitmapFactories.idl
@@ -31,6 +31,7 @@
[
ImplementedAs=ImageBitmapFactories,
RuntimeEnabled=ExperimentalCanvasFeatures,
+ StrictTypeChecking,
] partial interface Window {
[RaisesException] Promise createImageBitmap(HTMLImageElement image);
[RaisesException] Promise createImageBitmap(HTMLImageElement image, long sx, long sy, long sw, long sh);
« no previous file with comments | « Source/modules/imagebitmap/ImageBitmapFactories.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698