Index: chrome/browser/ui/blocked_content/blocked_content_tab_helper.cc |
diff --git a/chrome/browser/ui/blocked_content/blocked_content_tab_helper.cc b/chrome/browser/ui/blocked_content/blocked_content_tab_helper.cc |
index 2ee22c328badf4ba2715f60bf48b960e3b87b24e..844f210782cc5fd7b5b68a3f7f68310bf53e0cae 100644 |
--- a/chrome/browser/ui/blocked_content/blocked_content_tab_helper.cc |
+++ b/chrome/browser/ui/blocked_content/blocked_content_tab_helper.cc |
@@ -110,10 +110,8 @@ void BlockedContentTabHelper::AddPopup(content::WebContents* new_contents, |
if (creator.is_valid() && |
profile->GetHostContentSettingsMap()->GetContentSetting( |
- creator, |
- creator, |
- CONTENT_SETTINGS_TYPE_POPUPS, |
- "") == CONTENT_SETTING_ALLOW) { |
+ creator, creator, CONTENT_SETTINGS_TYPE_POPUPS, std::string()) == |
+ CONTENT_SETTING_ALLOW) { |
content::WebContentsDelegate* delegate = web_contents()->GetDelegate(); |
if (delegate) { |
delegate->AddNewContents(web_contents(), |