Index: base/command_line.cc |
diff --git a/base/command_line.cc b/base/command_line.cc |
index 735620dc5994a97a199897cf4046c7d97e1d6ca6..582c8b84a0e760f14e16242b2f9712d6c1d3d62e 100644 |
--- a/base/command_line.cc |
+++ b/base/command_line.cc |
@@ -168,6 +168,12 @@ 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; |