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

Unified Diff: ppapi/native_client/src/trusted/plugin/sel_ldr_launcher_chrome.cc

Issue 11787029: Remove the socket_count parameter from NaCl Launch IPC messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/trusted/plugin/sel_ldr_launcher_chrome.cc
diff --git a/ppapi/native_client/src/trusted/plugin/sel_ldr_launcher_chrome.cc b/ppapi/native_client/src/trusted/plugin/sel_ldr_launcher_chrome.cc
index 8da1aeb3e10fa6bbac359b732ea39eddb10a7b80..022255846ece7de1b0a765bd456536c11249cbb3 100644
--- a/ppapi/native_client/src/trusted/plugin/sel_ldr_launcher_chrome.cc
+++ b/ppapi/native_client/src/trusted/plugin/sel_ldr_launcher_chrome.cc
@@ -21,13 +21,10 @@ bool SelLdrLauncherChrome::Start(PP_Instance instance,
if (!launch_nacl_process)
return false;
// send a synchronous message to the browser process
- // TODO(sehr): This is asserted to be one. Remove this parameter.
- static const int kNumberOfChannelsToBeCreated = 1;
if (launch_nacl_process(instance,
url,
PP_FromBool(uses_ppapi),
PP_FromBool(enable_ppapi_dev),
- kNumberOfChannelsToBeCreated,
&channel_) != PP_NACL_OK) {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698