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

Unified Diff: content/browser/child_process_launcher.cc

Issue 2706933003: webapk: Avoid overwriting default CreationParams
Patch Set: cleanups Created 3 years, 10 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..a7da3ebd1a8f26a2deaa3584a21944c7ea829289 100644
--- a/content/browser/child_process_launcher.cc
+++ b/content/browser/child_process_launcher.cc
@@ -25,7 +25,8 @@ ChildProcessLauncher::ChildProcessLauncher(
Client* client,
std::unique_ptr<mojo::edk::PendingProcessConnection> pending_connection,
const mojo::edk::ProcessErrorCallback& process_error_callback,
- bool terminate_on_shutdown)
+ bool terminate_on_shutdown,
+ int param_id)
: client_(client),
termination_status_(base::TERMINATION_STATUS_NORMAL_TERMINATION),
exit_code_(RESULT_CODE_NORMAL_EXIT),
@@ -44,9 +45,9 @@ ChildProcessLauncher::ChildProcessLauncher(
CHECK(BrowserThread::GetCurrentThreadIdentifier(&client_thread_id_));
helper_ = new ChildProcessLauncherHelper(
- child_process_id, client_thread_id_,
- std::move(command_line), std::move(delegate),
- weak_factory_.GetWeakPtr(), terminate_on_shutdown);
+ child_process_id, client_thread_id_, std::move(command_line),
+ std::move(delegate), weak_factory_.GetWeakPtr(), terminate_on_shutdown,
+ param_id);
helper_->StartLaunchOnClientThread();
}

Powered by Google App Engine
This is Rietveld 408576698