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

Unified Diff: services/service_manager/runner/host/service_process_launcher.cc

Issue 2735113003: Changing SpawnChild to return a struct.
Patch Set: Created 3 years, 9 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: services/service_manager/runner/host/service_process_launcher.cc
diff --git a/services/service_manager/runner/host/service_process_launcher.cc b/services/service_manager/runner/host/service_process_launcher.cc
index 759df0064814165287a42b46f70b62aec30cc127..1ade9c6cf29b6db81001e6eb83c966793413a37b 100644
--- a/services/service_manager/runner/host/service_process_launcher.cc
+++ b/services/service_manager/runner/host/service_process_launcher.cc
@@ -196,8 +196,9 @@ void ServiceProcessLauncher::DoLaunch(
if (mojo_ipc_channel_.get()) {
mojo_ipc_channel_->ChildProcessLaunched();
- process_connection_.Connect(child_process_.Handle(),
- mojo_ipc_channel_->PassServerHandle());
+ process_connection_.Connect(
+ child_process_.Handle(),
+ mojo::edk::ConnectionParam(mojo_ipc_channel_->PassServerHandle()));
}
}
start_child_process_event_.Signal();
« no previous file with comments | « mojo/public/cpp/system/platform_handle.cc ('k') | services/service_manager/tests/service_manager/service_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698