summaryrefslogtreecommitdiffstats
path: root/chrome/test/startup
diff options
context:
space:
mode:
authormattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-21 03:36:31 +0000
committermattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-21 03:36:31 +0000
commit947446bd2c19777f7f20b9b14085dc31cdb73d1a (patch)
treea5a6965d00cd420035ccf80cf1498f7a2f1ca90a /chrome/test/startup
parent1f6228c2bfc056e876cbfd5b585f6d07d8f7313c (diff)
downloadchromium_src-947446bd2c19777f7f20b9b14085dc31cdb73d1a.zip
chromium_src-947446bd2c19777f7f20b9b14085dc31cdb73d1a.tar.gz
chromium_src-947446bd2c19777f7f20b9b14085dc31cdb73d1a.tar.bz2
Rename CommandLine::ARGUMENTS_ONLY to NO_PROGRAM.
ARGUMENTS_ONLY was misleading since CommandLine has methods for handling "switches" and "arguments", but that constructor still allows both. BUG=none TEST=still builds Review URL: http://codereview.chromium.org/3935001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63325 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/startup')
-rw-r--r--chrome/test/startup/startup_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/test/startup/startup_test.cc b/chrome/test/startup/startup_test.cc
index b94316a..31bdaf9 100644
--- a/chrome/test/startup/startup_test.cc
+++ b/chrome/test/startup/startup_test.cc
@@ -277,7 +277,7 @@ void StartupTest::RunPerfTestWithManyTabs(const char* graph, const char* trace,
UITest::TearDown();
// Clear all arguments for session restore, or the number of open tabs
// will grow with each restore.
- launch_arguments_ = CommandLine(CommandLine::ARGUMENTS_ONLY);
+ launch_arguments_ = CommandLine(CommandLine::NO_PROGRAM);
// The session will be restored once per cycle for numCycles test cycles,
// and each time, UITest::SetUp will wait for |tab_count| tabs to
// finish loading.