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

Unified Diff: components/nacl/broker/nacl_broker_listener.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
« no previous file with comments | « components/arc/arc_session.cc ('k') | content/browser/child_process_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/broker/nacl_broker_listener.cc
diff --git a/components/nacl/broker/nacl_broker_listener.cc b/components/nacl/broker/nacl_broker_listener.cc
index 734e5e5d93298a9ad26118ac170f915d6f758d8e..abd72aeb0e2c83af1774a61b9fd2405d7531a5f3 100644
--- a/components/nacl/broker/nacl_broker_listener.cc
+++ b/components/nacl/broker/nacl_broker_listener.cc
@@ -149,8 +149,9 @@ void NaClBrokerListener::OnLaunchLoaderThroughBroker(
this, cmd_line, handles, &loader_process);
if (result == sandbox::SBOX_ALL_OK) {
- pending_process.Connect(loader_process.Handle(),
- std::move(parent_handle));
+ pending_process.Connect(
+ loader_process.Handle(),
+ mojo::edk::ConnectionParams(std::move(parent_handle)));
// Note: PROCESS_DUP_HANDLE is necessary here, because:
// 1) The current process is the broker, which is the loader's parent.
« no previous file with comments | « components/arc/arc_session.cc ('k') | content/browser/child_process_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698