summaryrefslogtreecommitdiffstats
path: root/chrome/service/service_process.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/service/service_process.cc')
-rw-r--r--chrome/service/service_process.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/service/service_process.cc b/chrome/service/service_process.cc
index 9c0a8c8..68d02a7 100644
--- a/chrome/service/service_process.cc
+++ b/chrome/service/service_process.cc
@@ -218,8 +218,6 @@ bool ServiceProcess::Initialize(MessageLoopForUI* message_loop,
// See if we need to stay running.
ScheduleShutdownCheck();
- command_line_.reset(new CommandLine(command_line));
-
return true;
}
@@ -309,7 +307,7 @@ void ServiceProcess::OnChromotingHostDisabled() {
void ServiceProcess::OnServiceEnabled() {
enabled_services_++;
if (1 == enabled_services_) {
- ServiceProcessState::GetInstance()->AddToAutoRun(command_line_.get());
+ ServiceProcessState::GetInstance()->AddToAutoRun();
}
}