| Index: media/mojo/services/mojo_cdm.cc
|
| diff --git a/media/mojo/services/mojo_cdm.cc b/media/mojo/services/mojo_cdm.cc
|
| index ef667f97dcff65b39b4c2d729061f5ce8b8e396c..758695a1c1cf5643dcbb9926659cabd6105b0952 100644
|
| --- a/media/mojo/services/mojo_cdm.cc
|
| +++ b/media/mojo/services/mojo_cdm.cc
|
| @@ -76,9 +76,7 @@ MojoCdm::MojoCdm(interfaces::ContentDecryptionModulePtr remote_cdm,
|
| DCHECK(!session_keys_change_cb_.is_null());
|
| DCHECK(!session_expiration_update_cb_.is_null());
|
|
|
| - interfaces::ContentDecryptionModuleClientPtr client_ptr;
|
| - binding_.Bind(GetProxy(&client_ptr));
|
| - remote_cdm_->SetClient(std::move(client_ptr));
|
| + remote_cdm_->SetClient(binding_.CreateInterfacePtrAndBind());
|
| }
|
|
|
| MojoCdm::~MojoCdm() {
|
|
|