| Index: chrome/browser/profiles/profile_impl.cc
|
| diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
|
| index 2f493aab7d8d2388ee5a28a51334402f60451c0e..0821789c43e90a046143aee93b6b87b3695f636a 100644
|
| --- a/chrome/browser/profiles/profile_impl.cc
|
| +++ b/chrome/browser/profiles/profile_impl.cc
|
| @@ -119,6 +119,8 @@
|
| #include "printing/features/features.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
|
|
| +#include "content/public/common/service_manager_connection.h"
|
| +
|
| #if defined(OS_CHROMEOS)
|
| #include "chrome/browser/chromeos/locale_change_guard.h"
|
| #include "chrome/browser/chromeos/preferences.h"
|
| @@ -488,7 +490,9 @@ ProfileImpl::ProfileImpl(
|
| prefs_ = chrome_prefs::CreateProfilePrefs(
|
| path_, sequenced_task_runner, pref_validation_delegate_.get(),
|
| profile_policy_connector_->policy_service(), supervised_user_settings,
|
| - CreateExtensionPrefStore(this, false), pref_registry_, async_prefs);
|
| + CreateExtensionPrefStore(this, false), pref_registry_, async_prefs,
|
| + // content::ServiceManagerConnection::GetForProcess()->GetConnector());
|
| + content::BrowserContext::GetConnectorFor(this));
|
| // Register on BrowserContext.
|
| user_prefs::UserPrefs::Set(this, prefs_.get());
|
| }
|
|
|