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

Unified Diff: extensions/common/matcher/url_matcher_factory.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
« no previous file with comments | « extensions/common/matcher/url_matcher.cc ('k') | extensions/common/matcher/url_matcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/matcher/url_matcher_factory.cc
diff --git a/extensions/common/matcher/url_matcher_factory.cc b/extensions/common/matcher/url_matcher_factory.cc
index cdd08bae0d09b7987f5933b8d6b64a25946bd610..3ca4aa20de2d5ce7baa82c2e9427e22208e4d1b7 100644
--- a/extensions/common/matcher/url_matcher_factory.cc
+++ b/extensions/common/matcher/url_matcher_factory.cc
@@ -151,7 +151,8 @@ URLMatcherFactory::CreateFromURLFilterDictionary(
// matched.
if (url_matcher_conditions.empty()) {
url_matcher_conditions.insert(
- url_matcher_condition_factory->CreateHostPrefixCondition(""));
+ url_matcher_condition_factory->CreateHostPrefixCondition(
+ std::string()));
}
scoped_refptr<URLMatcherConditionSet> url_matcher_condition_set(
« no previous file with comments | « extensions/common/matcher/url_matcher.cc ('k') | extensions/common/matcher/url_matcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698