summaryrefslogtreecommitdiffstats
path: root/url/origin.cc
diff options
context:
space:
mode:
Diffstat (limited to 'url/origin.cc')
-rw-r--r--url/origin.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/url/origin.cc b/url/origin.cc
index 8aaa173..d800310 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] != '/');
}