Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1752)

Unified Diff: courgette/courgette_tool.cc

Issue 7352006: Rename CommandLine::GetArgs(), update callers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename CommandLine::GetArgs(), update callers. Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/tools/profiles/generate_profile.cc ('k') | media/test/ffmpeg_tests/ffmpeg_tests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: courgette/courgette_tool.cc
diff --git a/courgette/courgette_tool.cc b/courgette/courgette_tool.cc
index fe082047d13d80af67d49c519dc38e4a7ee85d7e..d36f4f1774fef1743950f50693959ad22d4a3852 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
}
« no previous file with comments | « chrome/tools/profiles/generate_profile.cc ('k') | media/test/ffmpeg_tests/ffmpeg_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698