diff options
Diffstat (limited to 'chromium/content/browser/utility_process_host.cc')
-rw-r--r-- | chromium/content/browser/utility_process_host.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/chromium/content/browser/utility_process_host.cc b/chromium/content/browser/utility_process_host.cc index 85b12bc86b7..73aca4bb8ec 100644 --- a/chromium/content/browser/utility_process_host.cc +++ b/chromium/content/browser/utility_process_host.cc @@ -298,11 +298,6 @@ void UtilityProcessHost::SetServiceIdentity( service_identity_ = identity; } -void UtilityProcessHost::SetExtraCommandLineSwitches( - std::vector<std::string> switches) { - extra_switches_ = std::move(switches); -} - mojom::ChildProcess* UtilityProcessHost::GetChildProcess() { return static_cast<ChildProcessHostImpl*>(process_->GetHost()) ->child_process(); @@ -455,9 +450,6 @@ bool UtilityProcessHost::StartProcess() { *service_identity_, cmd_line.get()); } - for (const auto& extra_switch : extra_switches_) - cmd_line->AppendSwitch(extra_switch); - std::unique_ptr<UtilitySandboxedProcessLauncherDelegate> delegate = std::make_unique<UtilitySandboxedProcessLauncherDelegate>( sandbox_type_, env_, *cmd_line); |