Index: modules/encryptedmedia/HTMLMediaElementEncryptedMedia.idl |
diff --git a/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.idl b/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.idl |
index ed9419904e7b0a491e41bf8b2087261f650adc8e..b27583240d90290a15092604f92d047c0d1d8c5e 100644 |
--- a/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.idl |
+++ b/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, TypeChecking=Interface] void setMediaKeys(MediaKeys? mediaKeys); |
+ [RuntimeEnabled=EncryptedMedia, TypeChecking=Interface, CallWith=ScriptState] Promise setMediaKeys(MediaKeys? mediaKeys); |
[RuntimeEnabled=EncryptedMedia] attribute EventHandler onneedkey; |
}; |