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

Unified Diff: services/service_manager/tests/util.cc

Issue 2738853002: Connections now take a ConnectionParams instead of a pipe handle. (Closed)
Patch Set: Fix Win compile 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;
}

Powered by Google App Engine
This is Rietveld 408576698