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

Unified Diff: components/arc/arc_session.cc

Issue 2738853002: Connections now take a ConnectionParams instead of a pipe handle. (Closed)
Patch Set: Fix Win release build. 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..5738ed6744304e29245b7ca8cbac226c00bea5d7 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::ConnectionParams(channel_pair.PassServerHandle()));
mojo::edk::ScopedPlatformHandleVectorPtr handles(
new mojo::edk::PlatformHandleVector{
« no previous file with comments | « chrome/utility/importer/firefox_importer_unittest_utils_mac.cc ('k') | components/nacl/broker/nacl_broker_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698