diff options
Diffstat (limited to 'net/http/http_auth_cache.cc')
-rw-r--r-- | net/http/http_auth_cache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/http_auth_cache.cc b/net/http/http_auth_cache.cc index 39db6418..3076a89 100644 --- a/net/http/http_auth_cache.cc +++ b/net/http/http_auth_cache.cc @@ -104,7 +104,7 @@ HttpAuthCache::Entry* HttpAuthCache::Add(const GURL& origin, // Check for existing entry (we will re-use it if present). HttpAuthCache::Entry* entry = LookupByRealm(origin, handler->realm()); - + if (!entry) { // Failsafe to prevent unbounded memory growth of the cache. if (entries_.size() >= kMaxNumRealmEntries) { |