Index: net/disk_cache/backend_impl.cc |
=================================================================== |
--- net/disk_cache/backend_impl.cc (revision 60547) |
+++ net/disk_cache/backend_impl.cc (working copy) |
@@ -778,6 +778,7 @@ |
TimeTicks start = TimeTicks::Now(); |
uint32 hash = Hash(key); |
+ Trace("Open hash 0x%x", hash); |
EntryImpl* cache_entry = MatchEntry(key, hash, false); |
if (!cache_entry) { |
@@ -806,6 +807,7 @@ |
TimeTicks start = TimeTicks::Now(); |
uint32 hash = Hash(key); |
+ Trace("Create hash 0x%x", hash); |
scoped_refptr<EntryImpl> parent; |
Addr entry_address(data_->table[hash & mask_]); |
@@ -1582,6 +1584,7 @@ |
continue; |
} |
+ DCHECK_EQ(hash & mask_, cache_entry->entry()->Data()->hash & mask_); |
if (cache_entry->IsSameEntry(key, hash)) { |
if (!cache_entry->Update()) |
cache_entry = NULL; |