diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-16 19:32:06 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-16 19:32:06 +0000 |
commit | a8d8d24a94a87830253b27537cd05069a3b369b6 (patch) | |
tree | b55701430cc0a4ff8c893bd4b352a897299fef8d /net/disk_cache/entry_impl.cc | |
parent | 557f1c9bb1c8c7f5cebbb6914a244b4b111725a6 (diff) | |
download | chromium_src-a8d8d24a94a87830253b27537cd05069a3b369b6.zip chromium_src-a8d8d24a94a87830253b27537cd05069a3b369b6.tar.gz chromium_src-a8d8d24a94a87830253b27537cd05069a3b369b6.tar.bz2 |
Disk cache: remove the hard coded list from rankings.cc
The rankings module now works with any list, not just
the first one. This is part of the support needed for
new eviction algorithms.
note: Rankings::CheckList() is basically the code that
was implementing the old Rankings::SelfCheck() (moved
with this cl).
The disk cache behavior is not changing with this cl.
Review URL: http://codereview.chromium.org/14141
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7074 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/entry_impl.cc')
-rw-r--r-- | net/disk_cache/entry_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/disk_cache/entry_impl.cc b/net/disk_cache/entry_impl.cc index cc2b07d..0f6d426 100644 --- a/net/disk_cache/entry_impl.cc +++ b/net/disk_cache/entry_impl.cc @@ -562,7 +562,7 @@ void EntryImpl::DeleteData(Addr address, int index) { void EntryImpl::UpdateRank(bool modified) { if (!doomed_) { // Everything is handled by the backend. - backend_->UpdateRank(&node_, true); + backend_->UpdateRank(this, true); return; } |