diff options
author | Kristian Monsen <kristianm@google.com> | 2011-11-01 11:46:33 +0000 |
---|---|---|
committer | Kristian Monsen <kristianm@google.com> | 2011-11-01 11:46:33 +0000 |
commit | 0a9239c3bca6d8a7147c80243b17a02340fe6d31 (patch) | |
tree | 841cfa833f5ab94e676b97893ab5eddee6b3dd58 /net/disk_cache/eviction.h | |
parent | 92b6b8e6dd0ba578b9091f7826568fccab6d2cf9 (diff) | |
download | external_chromium-0a9239c3bca6d8a7147c80243b17a02340fe6d31.zip external_chromium-0a9239c3bca6d8a7147c80243b17a02340fe6d31.tar.gz external_chromium-0a9239c3bca6d8a7147c80243b17a02340fe6d31.tar.bz2 |
Part of fix for bug 5523834, backporting cache fixes
Cherry-picking CL
http://src.chromium.org/viewvc/chrome?view=rev&revision=84877
Change-Id: Iaaa408fbf4375570e5d8bbb59314f8bedc7393a1
Diffstat (limited to 'net/disk_cache/eviction.h')
-rw-r--r-- | net/disk_cache/eviction.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/disk_cache/eviction.h b/net/disk_cache/eviction.h index 26f88fe..dd69b71 100644 --- a/net/disk_cache/eviction.h +++ b/net/disk_cache/eviction.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -66,7 +66,7 @@ class Eviction { bool RemoveDeletedNode(CacheRankingsBlock* node); bool NodeIsOldEnough(CacheRankingsBlock* node, int list); - int SelectListByLenght(); + int SelectListByLength(Rankings::ScopedRankingsBlock* next); void ReportListStats(); BackendImpl* backend_; |