diff options
Diffstat (limited to 'chrome/browser/browser_main_win.cc')
-rw-r--r-- | chrome/browser/browser_main_win.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/browser_main_win.cc b/chrome/browser/browser_main_win.cc index 6ecea52..ad74709 100644 --- a/chrome/browser/browser_main_win.cc +++ b/chrome/browser/browser_main_win.cc @@ -230,8 +230,7 @@ bool RegisterApplicationRestart(const CommandLine& parsed_command_line) { // The Windows Restart Manager expects a string of command line flags only, // without the program. CommandLine command_line(CommandLine::NO_PROGRAM); - command_line.AppendSwitches(parsed_command_line); - command_line.AppendArgs(parsed_command_line); + command_line.AppendArguments(parsed_command_line, false); // Ensure restore last session is set. if (!command_line.HasSwitch(switches::kRestoreLastSession)) command_line.AppendSwitch(switches::kRestoreLastSession); |