| Index: chrome/browser/browser_main_win.cc
|
| diff --git a/chrome/browser/browser_main_win.cc b/chrome/browser/browser_main_win.cc
|
| index ef1ceba8c2f1c0b090e2499cd8c8714a1d5e98c7..2461142696c090558bb5c80bc43026c8c2d805ad 100644
|
| --- a/chrome/browser/browser_main_win.cc
|
| +++ b/chrome/browser/browser_main_win.cc
|
| @@ -197,8 +197,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);
|
|
|