Index: ppapi/proxy/plugin_resource.cc |
diff --git a/ppapi/proxy/plugin_resource.cc b/ppapi/proxy/plugin_resource.cc |
index fca06308cdd548a7fd7d5718f3ebe7e1a7bed7e2..3dd47baa2f3c50efeb1cbcdaf7885c8f039309d8 100644 |
--- a/ppapi/proxy/plugin_resource.cc |
+++ b/ppapi/proxy/plugin_resource.cc |
@@ -108,16 +108,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; |
} |