summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-29 19:06:16 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-29 19:06:16 +0000
commitbd3699e4b9341e8084defefae72284aa36ddcedd (patch)
tree48138e11f04f76a75b97a9a861598bed26d4973d
parent62743cce2e14c1739fd276c9c015105131f08b7a (diff)
downloadchromium_src-bd3699e4b9341e8084defefae72284aa36ddcedd.zip
chromium_src-bd3699e4b9341e8084defefae72284aa36ddcedd.tar.gz
chromium_src-bd3699e4b9341e8084defefae72284aa36ddcedd.tar.bz2
Disk cache: don't check the list of entries at startup.
This is meant for M21 Satble BUG=135233 TEST=none TBR=gavinp@chromium.org Review URL: https://chromiumcodereview.appspot.com/10690049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144947 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--net/disk_cache/backend_impl.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/disk_cache/backend_impl.cc b/net/disk_cache/backend_impl.cc
index 00970b7..dc784f7 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();