Chromium Code Reviews| Index: net/base/host_cache.cc |
| diff --git a/net/base/host_cache.cc b/net/base/host_cache.cc |
| index 352513bcdef4f02a0c664a6f2f623faef0723364..ae0169cf3b58b84598d8e5bbd73303ae5de0c68a 100644 |
| --- a/net/base/host_cache.cc |
| +++ b/net/base/host_cache.cc |
| @@ -46,7 +46,7 @@ void HostCache::Set(const Key& key, |
| if (caching_is_disabled()) |
| return; |
| - entries_.Put(key, Entry(error, addrlist), now, ttl); |
| + entries_.Put(key, Entry(error, addrlist), now, now + ttl); |
| } |
| void HostCache::clear() { |