| Index: net/disk_cache/entry_impl.cc
|
| ===================================================================
|
| --- net/disk_cache/entry_impl.cc (revision 194260)
|
| +++ net/disk_cache/entry_impl.cc (working copy)
|
| @@ -502,9 +502,12 @@
|
| backend_->ModifyStorageSize(entry_.Data()->key_len, 0);
|
|
|
| backend_->DeleteBlock(entry_.address(), true);
|
| + entry_.Discard();
|
|
|
| - if (!LeaveRankingsBehind())
|
| + if (!LeaveRankingsBehind()) {
|
| backend_->DeleteBlock(node_.address(), true);
|
| + node_.Discard();
|
| + }
|
| }
|
|
|
| CacheAddr EntryImpl::GetNextAddress() {
|
|
|