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

Unified Diff: services/service_manager/tests/util.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/tests/util.cc
diff --git a/services/service_manager/tests/util.cc b/services/service_manager/tests/util.cc
index b12f6dbf8cc277335e35d9d7d3d9f5d336bbb98a..cec0f33673aeeae86f143448e0941f3c776afe3c 100644
--- a/services/service_manager/tests/util.cc
+++ b/services/service_manager/tests/util.cc
@@ -89,8 +89,9 @@ std::unique_ptr<Connection> LaunchAndConnectToProcess(
*process = base::LaunchProcess(child_command_line, options);
DCHECK(process->IsValid());
receiver->SetPID(process->Pid());
- pending_process.Connect(process->Handle(),
- platform_channel_pair.PassServerHandle());
+ pending_process.Connect(
+ process->Handle(),
+ mojo::edk::ConnectionParam(platform_channel_pair.PassServerHandle()));
return connection;
}
« no previous file with comments | « services/service_manager/tests/service_manager/service_manager_unittest.cc ('k') | testing/android/native_test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698