| Index: chrome/browser/profiles/profile_impl.cc
|
| diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
|
| index 8cf0d1b3e925b3959278ab4cf7185264b9a30f5a..403a2cd4e49886ccf84cb8ab4bf1e07a98a49c31 100644
|
| --- a/chrome/browser/profiles/profile_impl.cc
|
| +++ b/chrome/browser/profiles/profile_impl.cc
|
| @@ -496,7 +496,7 @@ ProfileImpl::ProfileImpl(
|
|
|
| {
|
| service_manager::Connector* connector = nullptr;
|
| - if (base::FeatureList::IsEnabled(features::kPrefService)) {
|
| + if (features::PrefServiceEnabled()) {
|
| connector = content::BrowserContext::GetConnectorFor(this);
|
| }
|
| prefs_ = chrome_prefs::CreateProfilePrefs(
|
| @@ -1068,7 +1068,7 @@ ProfileImpl::CreateMediaRequestContextForStoragePartition(
|
| }
|
|
|
| void ProfileImpl::RegisterInProcessServices(StaticServiceMap* services) {
|
| - if (base::FeatureList::IsEnabled(features::kPrefService)) {
|
| + if (features::PrefServiceEnabled()) {
|
| content::ServiceInfo info;
|
| info.factory = base::Bind(
|
| &prefs::CreatePrefService, std::set<PrefValueStore::PrefStoreType>(),
|
|
|