summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test/reliability/page_load_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/test/reliability/page_load_test.cc')
-rw-r--r--chrome_frame/test/reliability/page_load_test.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/chrome_frame/test/reliability/page_load_test.cc b/chrome_frame/test/reliability/page_load_test.cc
index badbcd3..d0f8767 100644
--- a/chrome_frame/test/reliability/page_load_test.cc
+++ b/chrome_frame/test/reliability/page_load_test.cc
@@ -470,12 +470,8 @@ class PageLoadTest : public testing::Test {
FilePath local_state_path;
chrome::GetChromeFrameUserDataDirectory(&local_state_path);
- PrefService* local_state = new PrefService(new PrefValueStore(
- NULL, /* no managed preference values */
- new JsonPrefStore(/* user defined preference values */
- local_state_path,
- ChromeThread::GetMessageLoopProxyForThread(ChromeThread::FILE)),
- NULL /* no sugessted preference values */));
+ PrefService* local_state = PrefService::CreateUserPrefService(
+ local_state_path);
return local_state;
}