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

Unified Diff: Source/modules/imagebitmap/ImageBitmapFactories.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
Index: Source/modules/imagebitmap/ImageBitmapFactories.idl
diff --git a/Source/modules/imagebitmap/ImageBitmapFactories.idl b/Source/modules/imagebitmap/ImageBitmapFactories.idl
index b3e4abc69a1cb81dd8b3677fe544bc315cf6ae2b..27eeb8b878e9fad122e02fb7db9790f94ad71bee 100644
--- a/Source/modules/imagebitmap/ImageBitmapFactories.idl
+++ b/Source/modules/imagebitmap/ImageBitmapFactories.idl
@@ -46,6 +46,7 @@ typedef (// HTMLImageElement or
LegacyTreatAsPartialInterface,
NoInterfaceObject, // Always used on target of 'implements'
RuntimeEnabled=ExperimentalCanvasFeatures,
+ StrictTypeChecking,
] interface ImageBitmapFactories {
[RaisesException] Promise createImageBitmap(Blob blob);
[RaisesException] Promise createImageBitmap(Blob blob, long sx, long sy, long sw, long sh);
« no previous file with comments | « Source/modules/imagebitmap/ImageBitmapFactories.cpp ('k') | Source/modules/imagebitmap/WindowImageBitmapFactories.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698