| Index: chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc
|
| diff --git a/chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc b/chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc
|
| index 95a7e675908eb1a4e944dcb933f0035b1fa3d2d3..ebd7befe258790b562bd63cbc064878a27502c24 100644
|
| --- a/chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc
|
| +++ b/chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc
|
| @@ -5,6 +5,7 @@
|
| #include "chrome/browser/ui/blocked_content/popup_blocker_tab_helper.h"
|
|
|
| #include "chrome/browser/chrome_notification_types.h"
|
| +#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
|
| #include "chrome/browser/content_settings/tab_specific_content_settings.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/ui/blocked_content/blocked_window_params.h"
|
| @@ -87,7 +88,7 @@ bool PopupBlockerTabHelper::MaybeBlockPopup(
|
| Profile::FromBrowserContext(web_contents()->GetBrowserContext());
|
|
|
| if (creator.is_valid() &&
|
| - profile->GetHostContentSettingsMap()->GetContentSetting(
|
| + HostContentSettingsMapFactory::GetForProfile(profile)->GetContentSetting(
|
| creator, creator, CONTENT_SETTINGS_TYPE_POPUPS, std::string()) ==
|
| CONTENT_SETTING_ALLOW) {
|
| return false;
|
|
|