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

Unified Diff: Source/core/html/HTMLMediaElement.idl

Issue 226073003: Fix StrictTypeChecking on interface type attributes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Mark HTMLMediaElement.error nullable. 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/bindings/tests/results/V8TestObject.cpp ('k') | Source/core/html/canvas/CanvasRenderingContext2D.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLMediaElement.idl
diff --git a/Source/core/html/HTMLMediaElement.idl b/Source/core/html/HTMLMediaElement.idl
index 55095b57d072b3d5220f58146987080f3aa641e7..20d3bdd8559f61b8e7386365692c04b7da68da6e 100644
--- a/Source/core/html/HTMLMediaElement.idl
+++ b/Source/core/html/HTMLMediaElement.idl
@@ -29,7 +29,7 @@
] interface HTMLMediaElement : HTMLElement {
// error state
- readonly attribute MediaError error;
+ [StrictTypeChecking] readonly attribute MediaError? error;
// network state
[Reflect, URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute DOMString src;
@@ -73,7 +73,7 @@
// media controller
[Reflect] attribute DOMString mediaGroup;
- [StrictTypeChecking] attribute MediaController controller;
+ [StrictTypeChecking] attribute MediaController? controller;
// controls
attribute boolean controls;
« no previous file with comments | « Source/bindings/tests/results/V8TestObject.cpp ('k') | Source/core/html/canvas/CanvasRenderingContext2D.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698