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 73efc8ce4812257d8b86d9de76f3968fd63e33c1..cef5b3ca9a61b0e637bfa117bec60c0853b9ba9a 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; |
} |