Index: third_party/WebKit/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.idl |
diff --git a/third_party/WebKit/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.idl b/third_party/WebKit/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.idl |
index e79fe27d18e171c430650be8da3c2ca3db72b5cc..3d47a088d0051437d3a3ab72ea1db2a1ce1b53e2 100644 |
--- a/third_party/WebKit/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.idl |
+++ b/third_party/WebKit/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.idl |
@@ -3,8 +3,8 @@ |
// found in the LICENSE file. |
partial interface HTMLMediaElement { |
- [RuntimeEnabled=PrefixedEncryptedMedia, RaisesException, DeprecateAs=PrefixedMediaGenerateKeyRequest] void webkitGenerateKeyRequest([TreatUndefinedAs=NullString] DOMString? keySystem, optional Uint8Array initData); |
- [RuntimeEnabled=PrefixedEncryptedMedia, RaisesException, DeprecateAs=PrefixedMediaAddKey] void webkitAddKey([TreatUndefinedAs=NullString] DOMString? keySystem, Uint8Array key, optional Uint8Array initData, optional DOMString sessionId = null); |
+ [RuntimeEnabled=PrefixedEncryptedMedia, RaisesException, DeprecateAs=PrefixedMediaGenerateKeyRequest, LegacyInterfaceTypeChecking] void webkitGenerateKeyRequest([TreatUndefinedAs=NullString] DOMString? keySystem, optional Uint8Array initData); |
+ [RuntimeEnabled=PrefixedEncryptedMedia, RaisesException, DeprecateAs=PrefixedMediaAddKey, LegacyInterfaceTypeChecking] void webkitAddKey([TreatUndefinedAs=NullString] DOMString? keySystem, Uint8Array key, optional Uint8Array initData, optional DOMString sessionId = null); |
[RuntimeEnabled=PrefixedEncryptedMedia, RaisesException, DeprecateAs=PrefixedMediaCancelKeyRequest] void webkitCancelKeyRequest([TreatUndefinedAs=NullString] DOMString? keySystem, optional DOMString sessionId = null); |
[RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyadded; |
@@ -13,6 +13,6 @@ partial interface HTMLMediaElement { |
[RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitneedkey; |
[RuntimeEnabled=EncryptedMedia] readonly attribute MediaKeys mediaKeys; |
- [RuntimeEnabled=EncryptedMedia, TypeChecking=Interface, CallWith=ScriptState] Promise setMediaKeys(MediaKeys? mediaKeys); |
+ [RuntimeEnabled=EncryptedMedia, CallWith=ScriptState] Promise setMediaKeys(MediaKeys? mediaKeys); |
[RuntimeEnabled=EncryptedMedia] attribute EventHandler onencrypted; |
}; |