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

Unified Diff: Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.idl

Issue 212643002: Use [StrictTypeChecking] for HTMLMediaElement.setMediaKeys (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: nullable Created 6 years, 9 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 | « LayoutTests/media/encrypted-media/encrypted-media-setmediakeys-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.idl
diff --git a/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.idl b/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.idl
index 4dd5cf763236d77d141868910de702d7e8f721a3..3d380ca3ad892919074067110efd9b43b7830243 100644
--- a/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.idl
+++ b/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.idl
@@ -13,6 +13,6 @@ partial interface HTMLMediaElement {
[RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitneedkey;
[RuntimeEnabled=EncryptedMedia] readonly attribute MediaKeys mediaKeys;
- [RuntimeEnabled=EncryptedMedia, RaisesException] void setMediaKeys(MediaKeys mediaKeys);
+ [RuntimeEnabled=EncryptedMedia, RaisesException, StrictTypeChecking] void setMediaKeys(MediaKeys? mediaKeys);
[RuntimeEnabled=EncryptedMedia] attribute EventHandler onneedkey;
};
« no previous file with comments | « LayoutTests/media/encrypted-media/encrypted-media-setmediakeys-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698