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..37b49dbd6a1c3506131c266c8e6892d217070f57 100644 |
--- a/third_party/WebKit/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.idl |
+++ b/third_party/WebKit/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.idl |
@@ -1,10 +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 { |
readonly attribute MediaKeys mediaKeys; |
- [CallWith=ScriptState] Promise setMediaKeys(MediaKeys? mediaKeys); |
+ [SecureContext, CallWith=ScriptState] Promise setMediaKeys(MediaKeys? mediaKeys); |
attribute EventHandler onencrypted; |
attribute EventHandler onwaitingforkey; |
}; |