summaryrefslogtreecommitdiffstats
path: root/extensions/common/matcher/url_matcher_factory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/common/matcher/url_matcher_factory.cc')
-rw-r--r--extensions/common/matcher/url_matcher_factory.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/common/matcher/url_matcher_factory.cc b/extensions/common/matcher/url_matcher_factory.cc
index cdd08ba..3ca4aa2 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(