| Index: ppapi/proxy/ppp_content_decryptor_private_proxy.cc
|
| diff --git a/ppapi/proxy/ppp_content_decryptor_private_proxy.cc b/ppapi/proxy/ppp_content_decryptor_private_proxy.cc
|
| index 4afd8fc8a50e3f0c61741f78317a1381531c0124..5d46bd222430ba027c33e833b9c8bd00077aafa7 100644
|
| --- a/ppapi/proxy/ppp_content_decryptor_private_proxy.cc
|
| +++ b/ppapi/proxy/ppp_content_decryptor_private_proxy.cc
|
| @@ -131,6 +131,7 @@ bool InitializePppDecryptorBuffer(PP_Instance instance,
|
|
|
| void GenerateKeyRequest(PP_Instance instance,
|
| PP_Var key_system,
|
| + PP_Var mime_type,
|
| PP_Var init_data) {
|
| HostDispatcher* dispatcher = HostDispatcher::GetForInstance(instance);
|
| if (!dispatcher) {
|
| @@ -143,6 +144,7 @@ void GenerateKeyRequest(PP_Instance instance,
|
| API_ID_PPP_CONTENT_DECRYPTOR_PRIVATE,
|
| instance,
|
| SerializedVarSendInput(dispatcher, key_system),
|
| + SerializedVarSendInput(dispatcher, mime_type),
|
| SerializedVarSendInput(dispatcher, init_data)));
|
| }
|
|
|
| @@ -411,11 +413,13 @@ bool PPP_ContentDecryptor_Private_Proxy::OnMessageReceived(
|
| void PPP_ContentDecryptor_Private_Proxy::OnMsgGenerateKeyRequest(
|
| PP_Instance instance,
|
| SerializedVarReceiveInput key_system,
|
| + SerializedVarReceiveInput mime_type,
|
| SerializedVarReceiveInput init_data) {
|
| if (ppp_decryptor_impl_) {
|
| CallWhileUnlocked(ppp_decryptor_impl_->GenerateKeyRequest,
|
| instance,
|
| ExtractReceivedVarAndAddRef(dispatcher(), &key_system),
|
| + ExtractReceivedVarAndAddRef(dispatcher(), &mime_type),
|
| ExtractReceivedVarAndAddRef(dispatcher(), &init_data));
|
| }
|
| }
|
|
|