Chromium Code Reviews| Index: Source/modules/encryptedmedia/MediaKeys.h |
| diff --git a/Source/modules/encryptedmedia/MediaKeys.h b/Source/modules/encryptedmedia/MediaKeys.h |
| index b44dd7470927515ee30986278f61db139d432b32..2a7c458e5d0d6aedb394da5ac27bc3b67b3b86af 100644 |
| --- a/Source/modules/encryptedmedia/MediaKeys.h |
| +++ b/Source/modules/encryptedmedia/MediaKeys.h |
| @@ -47,7 +47,7 @@ class WebContentDecryptionModule; |
| class MediaKeys : public GarbageCollectedFinalized<MediaKeys>, public ContextLifecycleObserver, public ScriptWrappable { |
| DEFINE_WRAPPERTYPEINFO(); |
| public: |
| - static ScriptPromise create(ScriptState*, const String& keySystem); |
| + MediaKeys(ExecutionContext*, const String& keySystem, PassOwnPtr<blink::WebContentDecryptionModule>); |
| virtual ~MediaKeys(); |
| const String& keySystem() const { return m_keySystem; } |
|
ddorwin
2014/10/22 22:18:54
Do we need this anymore?
jrummell
2014/10/23 01:20:03
Yes. MediaKeySession.generateRequest() needs it in
|
| @@ -68,8 +68,6 @@ public: |
| private: |
| class PendingAction; |
| - friend class MediaKeysInitializer; |
| - MediaKeys(ExecutionContext*, const String& keySystem, PassOwnPtr<blink::WebContentDecryptionModule>); |
| ScriptPromise setServerCertificateInternal(ScriptState*, PassRefPtr<ArrayBuffer> initData); |