summaryrefslogtreecommitdiff
path: root/chromium/content/browser/utility_process_host.cc
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-09-23 16:06:29 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-09-24 11:41:55 +0000
commitbac1035f131c0b95b75fb39ffd1a39652843de9f (patch)
tree44839fddbea648d54e4be47bcfbe4a5979bacd29 /chromium/content/browser/utility_process_host.cc
parent271a6c3487a14599023a9106329505597638d793 (diff)
downloadqtwebengine-chromium-bac1035f131c0b95b75fb39ffd1a39652843de9f.tar.gz
BASELINE: Update Chromium to 77.0.3865.98
Change-Id: Ice85979eb8b64af9a3c649d719bec6ea14ac3bf7 Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/content/browser/utility_process_host.cc')
-rw-r--r--chromium/content/browser/utility_process_host.cc8
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);