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

Unified Diff: chrome/browser/extensions/api/declarative_content/content_condition.cc

Issue 13145003: Rewrite std::string("") to std::string(), Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ugh 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/extensions/api/declarative_content/content_condition.cc
diff --git a/chrome/browser/extensions/api/declarative_content/content_condition.cc b/chrome/browser/extensions/api/declarative_content/content_condition.cc
index 4a88e17820f6fbfdff95ae637ca723d963817b5d..6c00b80389b1572126256cf4242609623fd11348 100644
--- a/chrome/browser/extensions/api/declarative_content/content_condition.cc
+++ b/chrome/browser/extensions/api/declarative_content/content_condition.cc
@@ -129,7 +129,8 @@ scoped_ptr<ContentCondition> ContentCondition::Create(
if (!url_matcher_condition_set) {
URLMatcherConditionSet::Conditions url_matcher_conditions;
url_matcher_conditions.insert(
- url_matcher_condition_factory->CreateHostPrefixCondition(""));
+ url_matcher_condition_factory->CreateHostPrefixCondition(
+ std::string()));
url_matcher_condition_set =
new URLMatcherConditionSet(++g_next_id, url_matcher_conditions);
}

Powered by Google App Engine
This is Rietveld 408576698