diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-24 21:50:47 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-24 21:50:47 +0000 |
commit | 30d52106c4683da28dea9d0828322a01e9a77b26 (patch) | |
tree | 2b13cf84973991d47e93bcbb9e0b1a296032261b /net/disk_cache/backend_impl.cc | |
parent | 13e858fe8fe59ee599c9a5c25674578ded273dd7 (diff) | |
download | chromium_src-30d52106c4683da28dea9d0828322a01e9a77b26.zip chromium_src-30d52106c4683da28dea9d0828322a01e9a77b26.tar.gz chromium_src-30d52106c4683da28dea9d0828322a01e9a77b26.tar.bz2 |
Disk cache: Disable the self check of ranking lists.
For the beta branch.
BUG=152040
TEST=none
TBR=gavinp@chromium.org
Review URL: https://codereview.chromium.org/10982011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158403 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/backend_impl.cc')
-rw-r--r-- | net/disk_cache/backend_impl.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/disk_cache/backend_impl.cc b/net/disk_cache/backend_impl.cc index 2de5952..2ce72f2 100644 --- a/net/disk_cache/backend_impl.cc +++ b/net/disk_cache/backend_impl.cc @@ -486,9 +486,6 @@ int BackendImpl::SyncInit() { disabled_ = !rankings_.Init(this, new_eviction_); - if (!disabled_ && !(user_flags_ & kNoRandom) && base::RandInt(0, 99) < 2) - rankings_.SelfCheck(); // Ignore return value for now. - #if defined(STRESS_CACHE_EXTENDED_VALIDATION) trace_object_->EnableTracing(false); int sc = SelfCheck(); |