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

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 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: content/browser/child_process_launcher.cc
diff --git a/content/browser/child_process_launcher.cc b/content/browser/child_process_launcher.cc
index cf807ba306b3b34bb4051d769067b1cf7ac12770..7db2563aaa1b1521542ce93146c4b99d4b7296ff 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::ConnectionParam(std::move(server_handle)),
+ process_error_callback_);
client_->OnProcessLaunched();
} else {
termination_status_ = base::TERMINATION_STATUS_LAUNCH_FAILED;

Powered by Google App Engine
This is Rietveld 408576698