diff options
author | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-13 23:41:22 +0000 |
---|---|---|
committer | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-13 23:41:22 +0000 |
commit | 75f1c78e253686c71e4294a48b744375d0fe8560 (patch) | |
tree | 37bcb158f88c33e0e13cb26010ea7b35ae8e118c /courgette/courgette_tool.cc | |
parent | 8e63df81baee6cc66979255525cd900e00977969 (diff) | |
download | chromium_src-75f1c78e253686c71e4294a48b744375d0fe8560.zip chromium_src-75f1c78e253686c71e4294a48b744375d0fe8560.tar.gz chromium_src-75f1c78e253686c71e4294a48b744375d0fe8560.tar.bz2 |
Rename CommandLine::GetArgs(), update callers.
BUG=73195
TEST=none
Review URL: http://codereview.chromium.org/7352006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92448 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'courgette/courgette_tool.cc')
-rw-r--r-- | courgette/courgette_tool.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/courgette/courgette_tool.cc b/courgette/courgette_tool.cc index fe08204..d36f4f1 100644 --- a/courgette/courgette_tool.cc +++ b/courgette/courgette_tool.cc @@ -419,11 +419,12 @@ int main(int argc, const char* argv[]) { // TODO(evanm): this whole file should use FilePaths instead of wstrings. std::vector<std::wstring> values; - for (size_t i = 0; i < command_line.args().size(); ++i) { + const CommandLine::StringVector& args = command_line.GetArgs(); + for (size_t i = 0; i < args.size(); ++i) { #if defined(OS_WIN) - values.push_back(command_line.args()[i]); + values.push_back(args[i]); #else - values.push_back(ASCIIToWide(command_line.args()[i])); + values.push_back(ASCIIToWide(args[i])); #endif } |