Index: chrome/browser/extensions/extension_service_unittest.cc |
diff --git a/chrome/browser/extensions/extension_service_unittest.cc b/chrome/browser/extensions/extension_service_unittest.cc |
index 437781c806c005d414ab42291dcdb5508b1478e2..54fb55c35b1744f59f331c461c0e1ff75b956a58 100644 |
--- a/chrome/browser/extensions/extension_service_unittest.cc |
+++ b/chrome/browser/extensions/extension_service_unittest.cc |
@@ -483,8 +483,8 @@ void ExtensionServiceTestBase::InitializeExtensionService( |
// If pref_file is empty, TestingProfile automatically creates |
// TestingPrefServiceSyncable instance. |
if (!params.pref_file.empty()) { |
- builder.WithUserFilePrefs(params.pref_file, |
- base::MessageLoopProxy::current().get()); |
+ builder.SetUserPrefsFile(params.pref_file, |
+ base::MessageLoopProxy::current().get()); |
scoped_refptr<user_prefs::PrefRegistrySyncable> registry( |
new user_prefs::PrefRegistrySyncable); |
scoped_ptr<PrefServiceSyncable> prefs( |