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 7998203599e2ee50d3a532da71b5157aa70a7aed..09d90516920a159ec04a831d88487e41e962ca2b 100644 |
--- a/third_party/WebKit/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.idl |
+++ b/third_party/WebKit/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.idl |
@@ -1,8 +1,9 @@ |
// Copyright 2014 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
- |
-partial interface HTMLMediaElement { |
+[ |
+ SecureContext, |
+] partial interface HTMLMediaElement { |
readonly attribute MediaKeys mediaKeys; |
[CallWith=ScriptState] Promise setMediaKeys(MediaKeys? mediaKeys); |
attribute EventHandler onencrypted; |