summaryrefslogtreecommitdiffstats
path: root/chrome/test
diff options
context:
space:
mode:
authorace@chromium.org <ace@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-20 22:34:50 +0000
committerace@chromium.org <ace@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-20 22:34:50 +0000
commitb3f65d0dd1a60822606ac828f1b9bd2ec5dbc65c (patch)
tree0274b2eccb7474e4a732d2e3a5e6ebddf26be2cb /chrome/test
parent79bbdb5ce7316a55122d67f10c64f1397118e012 (diff)
downloadchromium_src-b3f65d0dd1a60822606ac828f1b9bd2ec5dbc65c.zip
chromium_src-b3f65d0dd1a60822606ac828f1b9bd2ec5dbc65c.tar.gz
chromium_src-b3f65d0dd1a60822606ac828f1b9bd2ec5dbc65c.tar.bz2
Modify page_load_test so that reliability_tests.exe option --noclearprofile works.
Review URL: http://codereview.chromium.org/555013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36691 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r--chrome/test/reliability/page_load_test.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/test/reliability/page_load_test.cc b/chrome/test/reliability/page_load_test.cc
index a4d0e5f..0c01bd9 100644
--- a/chrome/test/reliability/page_load_test.cc
+++ b/chrome/test/reliability/page_load_test.cc
@@ -445,9 +445,11 @@ class PageLoadTest : public UITest {
protected:
// Call the base class's SetUp method and initialize our own class members.
virtual void SetUp() {
+ // Set UI Test members before setting up browser.
+ clear_profile_ = g_clear_profile;
+
UITest::SetUp();
g_browser_existing = true;
- clear_profile_ = g_clear_profile;
// Initialize crash_dumps_dir_path_.
PathService::Get(chrome::DIR_CRASH_DUMPS, &crash_dumps_dir_path_);