Index: content/common/appcache_interfaces.cc |
diff --git a/content/common/appcache_interfaces.cc b/content/common/appcache_interfaces.cc |
index fc1cb2bf402f81313b5538b2639b37ca239da9fa..5cb1064eb1362427e641fdba6ffd0b86d87a3456 100644 |
--- a/content/common/appcache_interfaces.cc |
+++ b/content/common/appcache_interfaces.cc |
@@ -6,6 +6,7 @@ |
#include <set> |
+#include "base/strings/pattern.h" |
#include "base/strings/string_util.h" |
#include "content/public/common/url_constants.h" |
#include "net/url_request/url_request.h" |
@@ -105,7 +106,7 @@ bool AppCacheNamespace::IsMatch(const GURL& url) const { |
std::string pattern = namespace_url.spec(); |
if (namespace_url.has_query()) |
base::ReplaceSubstringsAfterOffset(&pattern, 0, "?", "\\?"); |
- return MatchPattern(url.spec(), pattern); |
+ return base::MatchPattern(url.spec(), pattern); |
} |
return base::StartsWithASCII(url.spec(), namespace_url.spec(), true); |
} |