Index: chrome/browser/ui/browser_init.cc |
diff --git a/chrome/browser/ui/browser_init.cc b/chrome/browser/ui/browser_init.cc |
index 675ff141dbc86046f0455c33d2a62f13de33a4f9..252f1446328dbf5eee99e57d7476ed43eee6a370 100644 |
--- a/chrome/browser/ui/browser_init.cc |
+++ b/chrome/browser/ui/browser_init.cc |
@@ -1244,7 +1244,7 @@ std::vector<GURL> BrowserInit::GetURLsFromCommandLine( |
const FilePath& cur_dir, |
Profile* profile) { |
std::vector<GURL> urls; |
- CommandLine::StringVector params = command_line.args(); |
+ const CommandLine::StringVector& params = command_line.GetArgs(); |
for (size_t i = 0; i < params.size(); ++i) { |
FilePath param = FilePath(params[i]); |