Index: components/domain_reliability/config.cc |
diff --git a/components/domain_reliability/config.cc b/components/domain_reliability/config.cc |
index 6f47154e73ab37551c4de1316c7b215d68d370c4..8c2935c37119bb66913fead4224addce2307d667 100644 |
--- a/components/domain_reliability/config.cc |
+++ b/components/domain_reliability/config.cc |
@@ -15,6 +15,7 @@ |
#include "base/json/json_value_converter.h" |
#include "base/profiler/scoped_tracker.h" |
#include "base/rand_util.h" |
+#include "base/strings/pattern.h" |
#include "base/strings/string_util.h" |
namespace { |
@@ -41,7 +42,7 @@ bool DomainReliabilityConfig::Resource::MatchesUrl(const GURL& url) const { |
const std::string& spec = url.spec(); |
for (const auto& url_pattern : url_patterns) { |
- if (MatchPattern(spec, *url_pattern)) |
+ if (base::MatchPattern(spec, *url_pattern)) |
return true; |
} |