Index: chrome/browser/prefs/chrome_pref_service_unittest.cc |
diff --git a/chrome/browser/prefs/chrome_pref_service_unittest.cc b/chrome/browser/prefs/chrome_pref_service_unittest.cc |
index 437379209bc1e362e1e7df88721130646c6ed01e..4a478be2bac71da937720eb9fbb3632729596458 100644 |
--- a/chrome/browser/prefs/chrome_pref_service_unittest.cc |
+++ b/chrome/browser/prefs/chrome_pref_service_unittest.cc |
@@ -98,8 +98,8 @@ TEST_F(ChromePrefServiceUserFilePrefsTest, PreserveEmptyValue) { |
pref_file)); |
PrefServiceMockBuilder builder; |
- builder.WithUserFilePrefs(pref_file, |
- message_loop_.message_loop_proxy().get()); |
+ builder.SetUserPrefsFile(pref_file, |
+ message_loop_.message_loop_proxy().get()); |
scoped_refptr<user_prefs::PrefRegistrySyncable> registry( |
new user_prefs::PrefRegistrySyncable); |
scoped_ptr<PrefServiceSyncable> prefs(builder.CreateSyncable(registry.get())); |