Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Unified Diff: chrome/browser/ui/blocked_content/blocked_content_tab_helper.cc

Issue 13145003: Rewrite std::string("") to std::string(), Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-run on ToT, revert third_party changes and fix vexing parses. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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(),

Powered by Google App Engine
This is Rietveld 408576698