Index: components/google/core/browser/google_util.cc |
diff --git a/components/google/core/browser/google_util.cc b/components/google/core/browser/google_util.cc |
index 4d7d9d77d0624dd5703f9c84dfc1b207ca5fe74c..53265023ffd2233b506aa10a60752f07871bc53c 100644 |
--- a/components/google/core/browser/google_util.cc |
+++ b/components/google/core/browser/google_util.cc |
@@ -57,7 +57,7 @@ bool IsValidHostName(const std::string& host, |
if (base::LowerCaseEqualsASCII(host_minus_tld, domain_in_lower_case.c_str())) |
return true; |
if (subdomain_permission == google_util::ALLOW_SUBDOMAIN) |
- return EndsWith(host_minus_tld, "." + domain_in_lower_case, false); |
+ return base::EndsWith(host_minus_tld, "." + domain_in_lower_case, false); |
return base::LowerCaseEqualsASCII(host_minus_tld, |
("www." + domain_in_lower_case).c_str()); |
} |