| Index: chrome/browser/android/preferences/website_preference_bridge.cc
|
| diff --git a/chrome/browser/android/preferences/website_preference_bridge.cc b/chrome/browser/android/preferences/website_preference_bridge.cc
|
| index 5da7038dcf2fa46e930a91006c3844b3b0c69c93..d47f4c9b99cc7b94ee24e16faa0763054157edc2 100644
|
| --- a/chrome/browser/android/preferences/website_preference_bridge.cc
|
| +++ b/chrome/browser/android/preferences/website_preference_bridge.cc
|
| @@ -15,6 +15,7 @@
|
| #include "chrome/browser/browsing_data/cookies_tree_model.h"
|
| #include "chrome/browser/browsing_data/local_data_container.h"
|
| #include "chrome/browser/content_settings/cookie_settings_factory.h"
|
| +#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
|
| #include "chrome/browser/content_settings/web_site_settings_uma_util.h"
|
| #include "chrome/browser/notifications/desktop_notification_profile_util.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| @@ -43,7 +44,8 @@ static Profile* GetActiveUserProfile(bool is_incognito) {
|
| }
|
|
|
| static HostContentSettingsMap* GetHostContentSettingsMap(bool is_incognito) {
|
| - return GetActiveUserProfile(is_incognito)->GetHostContentSettingsMap();
|
| + return HostContentSettingsMapFactory::GetForProfile(
|
| + GetActiveUserProfile(is_incognito));
|
| }
|
|
|
| static void GetOrigins(JNIEnv* env,
|
|
|