summaryrefslogtreecommitdiffstats
path: root/chrome/service
diff options
context:
space:
mode:
authorpkasting <pkasting@chromium.org>2014-10-13 13:58:39 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-13 20:59:18 +0000
commit7bc277b97e9f5f3b470c4b6ccd9337ff73892159 (patch)
treeb6d16809dd1f5965a2bb38d50bab27a22f1e998a /chrome/service
parent21860bb80f4b5710d633dfd89bf25bc7beaec0c6 (diff)
downloadchromium_src-7bc277b97e9f5f3b470c4b6ccd9337ff73892159.zip
chromium_src-7bc277b97e9f5f3b470c4b6ccd9337ff73892159.tar.gz
chromium_src-7bc277b97e9f5f3b470c4b6ccd9337ff73892159.tar.bz2
Misc. cleanup, primarily removing unused locals.
Also various other fixes, e.g. condensing code, converting DCHECK_LT(0, a) -> DCHECK_GT(a, 0) (and the like) for readability, inserting a few typecasts. BUG=none TEST=none Review URL: https://codereview.chromium.org/637023002 Cr-Commit-Position: refs/heads/master@{#299362}
Diffstat (limited to 'chrome/service')
-rw-r--r--chrome/service/service_utility_process_host.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/service/service_utility_process_host.cc b/chrome/service/service_utility_process_host.cc
index f08a3bd..86a7d394 100644
--- a/chrome/service/service_utility_process_host.cc
+++ b/chrome/service/service_utility_process_host.cc
@@ -232,7 +232,6 @@ bool ServiceUtilityProcessHost::StartProcess(bool no_sandbox) {
bool ServiceUtilityProcessHost::Launch(base::CommandLine* cmd_line,
bool no_sandbox) {
if (no_sandbox) {
- base::ProcessHandle process = base::kNullProcessHandle;
cmd_line->AppendSwitch(switches::kNoSandbox);
base::LaunchProcess(*cmd_line, base::LaunchOptions(), &handle_);
} else {