Index: base/command_line.cc |
diff --git a/base/command_line.cc b/base/command_line.cc |
index b743d51cc5d0d228a88992559744b012bb5beec9..7d137f266cb3e5488be5d9ae7607c35be58e67e7 100644 |
--- a/base/command_line.cc |
+++ b/base/command_line.cc |
@@ -220,6 +220,7 @@ void CommandLine::InitFromArgv(int argc, |
void CommandLine::InitFromArgv(const StringVector& argv) { |
argv_ = StringVector(1); |
+ switches_.clear(); |
begin_args_ = 1; |
SetProgram(argv.empty() ? FilePath() : FilePath(argv[0])); |
AppendSwitchesAndArguments(*this, argv); |