| Index: ppapi/proxy/plugin_resource.cc
|
| diff --git a/ppapi/proxy/plugin_resource.cc b/ppapi/proxy/plugin_resource.cc
|
| index 3a023091496f0e4da669d32e6d8c9e12ea002087..e86e0900a2d240b523235b356c9404d9f2f7add6 100644
|
| --- a/ppapi/proxy/plugin_resource.cc
|
| +++ b/ppapi/proxy/plugin_resource.cc
|
| @@ -94,16 +94,17 @@ bool PluginResource::SendResourceCall(
|
| new PpapiHostMsg_ResourceCall(call_params, nested_msg));
|
| }
|
|
|
| -int32_t PluginResource::GenericSyncCall(Destination dest,
|
| - const IPC::Message& msg,
|
| - IPC::Message* reply) {
|
| +int32_t PluginResource::GenericSyncCall(
|
| + Destination dest,
|
| + const IPC::Message& msg,
|
| + IPC::Message* reply,
|
| + ResourceMessageReplyParams* reply_params) {
|
| ResourceMessageCallParams params(pp_resource(), GetNextSequence());
|
| params.set_has_callback();
|
| - ResourceMessageReplyParams reply_params;
|
| bool success = GetSender(dest)->Send(new PpapiHostMsg_ResourceSyncCall(
|
| - params, msg, &reply_params, reply));
|
| + params, msg, reply_params, reply));
|
| if (success)
|
| - return reply_params.result();
|
| + return reply_params->result();
|
| return PP_ERROR_FAILED;
|
| }
|
|
|
|
|