Index: url/origin.cc |
diff --git a/url/origin.cc b/url/origin.cc |
index 8aaa173fa5e0d98728067daca5af80b349e0ba28..d800310b203eccc0d5bb873e077bbe3c7e8660e3 100644 |
--- a/url/origin.cc |
+++ b/url/origin.cc |
@@ -4,6 +4,7 @@ |
#include "url/origin.h" |
+#include "base/strings/pattern.h" |
#include "base/strings/string_util.h" |
namespace url { |
@@ -11,7 +12,7 @@ namespace url { |
Origin::Origin() : string_("null") {} |
Origin::Origin(const std::string& origin) : string_(origin) { |
- DCHECK(origin == "null" || MatchPattern(origin, "?*://?*")); |
+ DCHECK(origin == "null" || base::MatchPattern(origin, "?*://?*")); |
DCHECK_GT(origin.size(), 0u); |
DCHECK(origin == "file://" || origin[origin.size() - 1] != '/'); |
} |