Index: net/disk_cache/eviction.cc |
=================================================================== |
--- net/disk_cache/eviction.cc (revision 19788) |
+++ net/disk_cache/eviction.cc (working copy) |
@@ -182,7 +182,8 @@ |
} |
if (node->Data()->pointer) { |
- entry = EntryImpl::Update(entry); |
+ // We ignore the failure; we're removing the entry anyway. |
+ entry->Update(); |
} |
ReportTrimTimes(entry); |
if (empty || !new_eviction_) { |
@@ -400,7 +401,8 @@ |
} |
if (node->Data()->pointer) { |
- entry = EntryImpl::Update(entry); |
+ // We ignore the failure; we're removing the entry anyway. |
+ entry->Update(); |
} |
entry->entry()->Data()->state = ENTRY_DOOMED; |
entry->Doom(); |