summaryrefslogtreecommitdiffstats
path: root/net/http/http_auth_cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/http/http_auth_cache.cc')
-rw-r--r--net/http/http_auth_cache.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/http/http_auth_cache.cc b/net/http/http_auth_cache.cc
index 3076a89..a7e2309 100644
--- a/net/http/http_auth_cache.cc
+++ b/net/http/http_auth_cache.cc
@@ -35,8 +35,8 @@ void CheckPathIsValid(const std::string& path) {
// |container| an ancestor of |path|?
bool IsEnclosingPath(const std::string& container, const std::string& path) {
DCHECK(container.empty() || *(container.end() - 1) == '/');
- return (container.empty() && path.empty()) ||
- (!container.empty() && StartsWithASCII(path, container, true));
+ return ((container.empty() && path.empty()) ||
+ (!container.empty() && StartsWithASCII(path, container, true)));
}
// Debug helper to check that |origin| arguments are properly formed.