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

Unified Diff: src/shared/ppapi_proxy/plugin_ppp_impl.cc

Issue 3391010: Update the PPAPI DEPS revision. This change included parameter profile chang... (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 10 years, 3 months 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 | « src/shared/ppapi_proxy/plugin_globals.cc ('k') | src/shared/ppapi_proxy/plugin_var.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/shared/ppapi_proxy/plugin_ppp_impl.cc
===================================================================
--- src/shared/ppapi_proxy/plugin_ppp_impl.cc (revision 3312)
+++ src/shared/ppapi_proxy/plugin_ppp_impl.cc (working copy)
@@ -105,6 +105,7 @@
StopMainSrpcChannel();
return NACL_SRPC_RESULT_APP_ERROR;
}
+ ppapi_proxy::SetModuleIdForSrpcChannel(channel, module);
*success = ::PPP_InitializeModule(module, ppapi_proxy::GetInterfaceProxy);
*nacl_pid = GETPID();
return NACL_SRPC_RESULT_OK;
@@ -113,6 +114,7 @@
NaClSrpcError PppRpcServer::PPP_ShutdownModule(NaClSrpcChannel* channel) {
DebugPrintf("PPP_ShutdownModule\n");
::PPP_ShutdownModule();
+ ppapi_proxy::UnsetModuleIdForSrpcChannel(channel);
// Clean up the upcall channel.
StopUpcallSrpcChannel();
// Clean up the main channel.
« no previous file with comments | « src/shared/ppapi_proxy/plugin_globals.cc ('k') | src/shared/ppapi_proxy/plugin_var.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698