summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/disk_cache/eviction.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/disk_cache/eviction.cc b/net/disk_cache/eviction.cc
index 0075f5d..3706260 100644
--- a/net/disk_cache/eviction.cc
+++ b/net/disk_cache/eviction.cc
@@ -151,7 +151,7 @@ void Eviction::ReportTrimTimes(EntryImpl* entry) {
(Time::Now() - entry->GetLastUsed()).InHours());
}
- if (header_->create_time || !header_->lru.filled) {
+ if (header_->create_time && !header_->lru.filled) {
// This is the first entry that we have to evict, generate some noise.
header_->lru.filled = 1;
backend_->FirstEviction();