summaryrefslogtreecommitdiffstats
path: root/base/command_line.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/command_line.cc')
-rw-r--r--base/command_line.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/base/command_line.cc b/base/command_line.cc
index bbd25b8..ac8402cb 100644
--- a/base/command_line.cc
+++ b/base/command_line.cc
@@ -191,12 +191,6 @@ bool CommandLine::IsSwitch(const StringType& parameter_string,
}
// static
-void CommandLine::Reset() {
- delete current_process_commandline_;
- current_process_commandline_ = NULL;
-}
-
-// static
void CommandLine::Init(int argc, const char* const* argv) {
#if defined(OS_WIN)
current_process_commandline_ = new CommandLine;
@@ -240,7 +234,7 @@ void CommandLine::SetTrueArgv(char** argv) {
}
#endif
-void CommandLine::Terminate() {
+void CommandLine::Reset() {
DCHECK(current_process_commandline_ != NULL);
delete current_process_commandline_;
current_process_commandline_ = NULL;