Index: net/http/http_auth_cache.cc |
diff --git a/net/http/http_auth_cache.cc b/net/http/http_auth_cache.cc |
index 56ce99efafdbd72b541585dc4d525fe9ce3a5cae..d76d3ed40cd5dd912a87938c13c5bebdef952c99 100644 |
--- a/net/http/http_auth_cache.cc |
+++ b/net/http/http_auth_cache.cc |
@@ -37,7 +37,8 @@ void CheckPathIsValid(const std::string& path) { |
bool IsEnclosingPath(const std::string& container, const std::string& path) { |
DCHECK(container.empty() || *(container.end() - 1) == '/'); |
return ((container.empty() && path.empty()) || |
- (!container.empty() && base::StartsWithASCII(path, container, true))); |
+ (!container.empty() && |
+ base::StartsWith(path, container, base::CompareCase::SENSITIVE))); |
} |
// Debug helper to check that |origin| arguments are properly formed. |