summaryrefslogtreecommitdiffstats
path: root/chrome/test
diff options
context:
space:
mode:
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_);