Index: chrome/browser/browser_main_win.cc |
diff --git a/chrome/browser/browser_main_win.cc b/chrome/browser/browser_main_win.cc |
index 6ecea52486e63bdf2683592795019b186ca5b88d..ad74709479e6aa15c1876cd7a99ce3fad204d022 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); |