summaryrefslogtreecommitdiffstats
path: root/net/disk_cache
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-03 01:02:41 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-03 01:02:41 +0000
commit1c61fe00d0474a0eb7d78a9b680ce3aacd6216d7 (patch)
treee216c0e3111b1965688eae9d84963d90fb46fa64 /net/disk_cache
parent04f6f98fd12709e22cab2a6ed3e28d63bea60d64 (diff)
downloadchromium_src-1c61fe00d0474a0eb7d78a9b680ce3aacd6216d7.zip
chromium_src-1c61fe00d0474a0eb7d78a9b680ce3aacd6216d7.tar.gz
chromium_src-1c61fe00d0474a0eb7d78a9b680ce3aacd6216d7.tar.bz2
Disk Cache: Fix the value reported for QuickListCheck histogram.
BUG=none TEST=none TBR=gavinp@chromium.org Review URL: https://chromiumcodereview.appspot.com/10850035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149762 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache')
-rw-r--r--net/disk_cache/rankings.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/disk_cache/rankings.cc b/net/disk_cache/rankings.cc
index e86aa82..6da1e1f 100644
--- a/net/disk_cache/rankings.cc
+++ b/net/disk_cache/rankings.cc
@@ -906,7 +906,7 @@ int Rankings::CheckListSection(List list, Addr end1, Addr end2, bool forward,
void Rankings::QuickListCheck() {
for (int i = 0; i < LAST_ELEMENT; i++) {
int rv = CheckHeadAndTail(static_cast<List>(i));
- CACHE_UMA(CACHE_ERROR, "QuickListCheck", 0, rv);
+ CACHE_UMA(CACHE_ERROR, "QuickListCheck", 0, rv * -1);
}
}