Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Unified Diff: ppapi/proxy/plugin_resource.cc

Issue 11443016: Revert 171080 (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1349/src/
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/plugin_resource.h ('k') | ppapi/proxy/ppapi_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/plugin_resource.cc
===================================================================
--- ppapi/proxy/plugin_resource.cc (revision 171259)
+++ ppapi/proxy/plugin_resource.cc (working copy)
@@ -108,17 +108,16 @@
new PpapiHostMsg_ResourceCall(call_params, nested_msg));
}
-int32_t PluginResource::GenericSyncCall(
- Destination dest,
- const IPC::Message& msg,
- IPC::Message* reply,
- ResourceMessageReplyParams* reply_params) {
+int32_t PluginResource::GenericSyncCall(Destination dest,
+ const IPC::Message& msg,
+ IPC::Message* reply) {
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;
}
« no previous file with comments | « ppapi/proxy/plugin_resource.h ('k') | ppapi/proxy/ppapi_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698