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

Unified Diff: content/browser/child_process_launcher.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/nacl/broker/nacl_broker_listener.cc ('k') | mojo/edk/embedder/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/child_process_launcher.cc
diff --git a/content/browser/child_process_launcher.cc b/content/browser/child_process_launcher.cc
index cf807ba306b3b34bb4051d769067b1cf7ac12770..f57f26bab9ed21dd854dab8c53ee157a8cac92f5 100644
--- a/content/browser/child_process_launcher.cc
+++ b/content/browser/child_process_launcher.cc
@@ -85,9 +85,10 @@ void ChildProcessLauncher::Notify(
if (process_.process.IsValid()) {
// Set up Mojo IPC to the new process.
DCHECK(pending_connection);
- pending_connection->Connect(process_.process.Handle(),
- std::move(server_handle),
- process_error_callback_);
+ pending_connection->Connect(
+ process_.process.Handle(),
+ mojo::edk::ConnectionParams(std::move(server_handle)),
+ process_error_callback_);
client_->OnProcessLaunched();
} else {
termination_status_ = base::TERMINATION_STATUS_LAUNCH_FAILED;
« no previous file with comments | « components/nacl/broker/nacl_broker_listener.cc ('k') | mojo/edk/embedder/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698