summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-13 21:46:32 +0000
committermsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-13 21:46:32 +0000
commit62b4e52857f1fc8c0e26be90bc5e770e65f12aec (patch)
tree9101c313ebb60fda88a18f2aac014007011385dd /net
parent36717d9b4e6ac635fe762ae9974fd57538df2fa8 (diff)
downloadchromium_src-62b4e52857f1fc8c0e26be90bc5e770e65f12aec.zip
chromium_src-62b4e52857f1fc8c0e26be90bc5e770e65f12aec.tar.gz
chromium_src-62b4e52857f1fc8c0e26be90bc5e770e65f12aec.tar.bz2
Nix CommandLine::GetSwitchCount.
BUG=73195 TEST=none Review URL: http://codereview.chromium.org/7342024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92423 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/tools/testserver/run_testserver.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/tools/testserver/run_testserver.cc b/net/tools/testserver/run_testserver.cc
index f9a70ba..00a765d 100644
--- a/net/tools/testserver/run_testserver.cc
+++ b/net/tools/testserver/run_testserver.cc
@@ -38,8 +38,7 @@ int main(int argc, const char* argv[]) {
TestTimeouts::Initialize();
- if (command_line->GetSwitchCount() == 0 ||
- command_line->HasSwitch("help")) {
+ if (command_line->GetSwitches().empty() || command_line->HasSwitch("help")) {
PrintUsage();
return -1;
}