| 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 9c3a3d6d13271b188c1fd9199b822a0f758521fe..e87be85b9cef907d034aeda409d5b9b0ac595a5a 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
|
| @@ -62,13 +62,8 @@ PopupBlockedInfoBarDelegate::PopupBlockedInfoBarDelegate(
|
| HostContentSettingsMap* map)
|
| : ConfirmInfoBarDelegate(), num_popups_(num_popups), url_(url), map_(map) {
|
| content_settings::SettingInfo setting_info;
|
| - scoped_ptr<base::Value> setting(
|
| - map->GetWebsiteSetting(
|
| - url,
|
| - url,
|
| - CONTENT_SETTINGS_TYPE_POPUPS,
|
| - std::string(),
|
| - &setting_info));
|
| + scoped_ptr<base::Value> setting = map->GetWebsiteSetting(
|
| + url, url, CONTENT_SETTINGS_TYPE_POPUPS, std::string(), &setting_info);
|
| can_show_popups_ =
|
| setting_info.source != content_settings::SETTING_SOURCE_POLICY;
|
| }
|
|
|