| Index: chrome/browser/ui/android/content_settings/popup_blocked_infobar_delegate.cc
|
| diff --git a/chrome/browser/ui/android/content_settings/popup_blocked_infobar_delegate.cc b/chrome/browser/ui/android/content_settings/popup_blocked_infobar_delegate.cc
|
| index 66b4c50aca83759a16518476622b806980e8cc7d..b502d3a72a6bcd541c340448f075c6df2b0d6d0d 100644
|
| --- a/chrome/browser/ui/android/content_settings/popup_blocked_infobar_delegate.cc
|
| +++ b/chrome/browser/ui/android/content_settings/popup_blocked_infobar_delegate.cc
|
| @@ -5,6 +5,7 @@
|
| #include "chrome/browser/ui/android/content_settings/popup_blocked_infobar_delegate.h"
|
|
|
| #include "base/prefs/pref_service.h"
|
| +#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
|
| #include "chrome/browser/infobars/infobar_service.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/ui/blocked_content/popup_blocker_tab_helper.h"
|
| @@ -27,7 +28,9 @@ void PopupBlockedInfoBarDelegate::Create(content::WebContents* web_contents,
|
| InfoBarService::FromWebContents(web_contents);
|
| scoped_ptr<infobars::InfoBar> infobar(infobar_service->CreateConfirmInfoBar(
|
| scoped_ptr<ConfirmInfoBarDelegate>(new PopupBlockedInfoBarDelegate(
|
| - num_popups, url, profile->GetHostContentSettingsMap()))));
|
| + num_popups,
|
| + url,
|
| + HostContentSettingsMapFactory::GetForProfile(profile)))));
|
|
|
| // See if there is an existing popup infobar already.
|
| // TODO(dfalcantara) When triggering more than one popup the infobar
|
|
|