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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/browser_ppp.cc

Issue 9015040: NaCl: Remove getpid() calls from the PPAPI proxy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright Created 8 years, 11 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
Index: ppapi/native_client/src/shared/ppapi_proxy/browser_ppp.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/browser_ppp.cc b/ppapi/native_client/src/shared/ppapi_proxy/browser_ppp.cc
index 437a694843e5f688562510d061ddda2d24c14729..fa61f0a8c627ec6b14597d2b09e0548c34ef457d 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/browser_ppp.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/browser_ppp.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -97,15 +97,12 @@ int32_t BrowserPpp::InitializeModule(PP_Module module_id,
SetModuleIdForSrpcChannel(main_channel_, module_id);
SetInstanceIdForSrpcChannel(main_channel_, plugin_->pp_instance());
// Do the RPC.
- int32_t browser_pid = static_cast<int32_t>(GETPID());
int32_t pp_error;
NaClSrpcError srpc_result =
PppRpcClient::PPP_InitializeModule(main_channel_,
- browser_pid,
module_id,
wrapper->desc(),
service_string,
- &plugin_pid_,
&pp_error);
DebugPrintf("PPP_InitializeModule: %s\n", NaClSrpcErrorString(srpc_result));
is_nexe_alive_ = (srpc_result != NACL_SRPC_RESULT_INTERNAL);

Powered by Google App Engine
This is Rietveld 408576698