| Index: media/blink/webencryptedmediaclient_impl.cc
|
| diff --git a/media/blink/webencryptedmediaclient_impl.cc b/media/blink/webencryptedmediaclient_impl.cc
|
| index af7b7f487a99cc44cf5254257835e1d4c8fbdfe9..c71441bb4af843207e83c0bf0a22d991ad88ddad 100644
|
| --- a/media/blink/webencryptedmediaclient_impl.cc
|
| +++ b/media/blink/webencryptedmediaclient_impl.cc
|
| @@ -8,6 +8,7 @@
|
| #include "base/strings/string_util.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "media/base/key_systems.h"
|
| +#include "media/base/media_permission.h"
|
| #include "net/base/mime_util.h"
|
| #include "third_party/WebKit/public/platform/WebEncryptedMediaRequest.h"
|
| #include "third_party/WebKit/public/platform/WebMediaKeySystemConfiguration.h"
|
| @@ -131,8 +132,9 @@ static bool GetSupportedConfiguration(
|
| }
|
|
|
| WebEncryptedMediaClientImpl::WebEncryptedMediaClientImpl(
|
| - scoped_ptr<CdmFactory> cdm_factory)
|
| - : cdm_factory_(cdm_factory.Pass()) {
|
| + scoped_ptr<CdmFactory> cdm_factory,
|
| + MediaPermission* media_permission)
|
| + : cdm_factory_(cdm_factory.Pass()), media_permission_(media_permission) {
|
| }
|
|
|
| WebEncryptedMediaClientImpl::~WebEncryptedMediaClientImpl() {
|
|
|