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

Unified Diff: components/arc/arc_session.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: components/arc/arc_session.cc
diff --git a/components/arc/arc_session.cc b/components/arc/arc_session.cc
index c369d28c9c4e8c1501e9ced66c5270959a20463b..d002413b00dfc12fb680eb3c709165cf2ee60d4e 100644
--- a/components/arc/arc_session.cc
+++ b/components/arc/arc_session.cc
@@ -442,7 +442,8 @@ mojo::ScopedMessagePipeHandle ArcSessionImpl::ConnectMojo(
const base::ProcessHandle kUnusedChildProcessHandle = 0;
mojo::edk::PlatformChannelPair channel_pair;
mojo::edk::PendingProcessConnection process;
- process.Connect(kUnusedChildProcessHandle, channel_pair.PassServerHandle());
+ process.Connect(kUnusedChildProcessHandle,
+ mojo::edk::ConnectionParam(channel_pair.PassServerHandle()));
mojo::edk::ScopedPlatformHandleVectorPtr handles(
new mojo::edk::PlatformHandleVector{

Powered by Google App Engine
This is Rietveld 408576698