Index: chrome/browser/prefs/chrome_pref_service_factory.cc |
diff --git a/chrome/browser/prefs/chrome_pref_service_factory.cc b/chrome/browser/prefs/chrome_pref_service_factory.cc |
index 4e7a23e3a66b5274260c4da737c47690ade707b3..f5ab646ef8c5058eb3a4f76b3c714b6cfb195aef 100644 |
--- a/chrome/browser/prefs/chrome_pref_service_factory.cc |
+++ b/chrome/browser/prefs/chrome_pref_service_factory.cc |
@@ -477,7 +477,8 @@ std::unique_ptr<sync_preferences::PrefServiceSyncable> CreateProfilePrefs( |
SupervisedUserSettingsService* supervised_user_settings, |
const scoped_refptr<PrefStore>& extension_prefs, |
const scoped_refptr<user_prefs::PrefRegistrySyncable>& pref_registry, |
- bool async) { |
+ bool async, |
+ service_manager::Connector* connector) { |
TRACE_EVENT0("browser", "chrome_prefs::CreateProfilePrefs"); |
SCOPED_UMA_HISTOGRAM_TIMER("PrefService.CreateProfilePrefsTime"); |
@@ -501,7 +502,7 @@ std::unique_ptr<sync_preferences::PrefServiceSyncable> CreateProfilePrefs( |
supervised_user_settings, user_pref_store, extension_prefs, |
async); |
std::unique_ptr<sync_preferences::PrefServiceSyncable> pref_service = |
- factory.CreateSyncable(pref_registry.get()); |
+ factory.CreateSyncable(pref_registry.get(), connector); |
return pref_service; |
} |