Chromium Code Reviews| Index: chrome/browser/web_applications/web_app_win.cc |
| diff --git a/chrome/browser/web_applications/web_app_win.cc b/chrome/browser/web_applications/web_app_win.cc |
| index a393a2039f488e60a05aeb0f78f22b4e19ace5fc..e9688bd17a1abfdcd7fc5135a629b1a29e5e42fa 100644 |
| --- a/chrome/browser/web_applications/web_app_win.cc |
| +++ b/chrome/browser/web_applications/web_app_win.cc |
| @@ -427,8 +427,8 @@ base::CommandLine GetAppShimCommandLine(const base::FilePath& app_shim_path, |
| shim_cmd_line.AppendSwitch(installer::switches::kChromeSxS); |
| // Ensure all subsequent switches are treated as args to the shim. |
| shim_cmd_line.AppendArg("--"); |
| - for (const auto& arg : chrome_cmd_line.GetArgs()) |
| - shim_cmd_line.AppendArgNative(arg); |
| + for (size_t i = 1; i < chrome_cmd_line.argv().size(); ++i) |
|
Matt Giuca
2014/11/05 06:45:12
Note: The old code was calling GetArgs(), which re
|
| + shim_cmd_line.AppendArgNative(chrome_cmd_line.argv()[i]); |
| return shim_cmd_line; |
| } |