summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorrvargas@chromium.org <rvargas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-26 23:14:04 +0000
committerrvargas@chromium.org <rvargas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-26 23:14:04 +0000
commitc9428a13d50b30e285d1e4910ca98775572e7b49 (patch)
tree26523089df4f817241c436ebd089775a6a5f0f24 /net
parent5f8471fbd1d2c58174c563012d9bc1b187e3417b (diff)
downloadchromium_src-c9428a13d50b30e285d1e4910ca98775572e7b49.zip
chromium_src-c9428a13d50b30e285d1e4910ca98775572e7b49.tar.gz
chromium_src-c9428a13d50b30e285d1e4910ca98775572e7b49.tar.bz2
Disk cache: Downgrade a DCHECK to a DLOG.
Once in a while this hits a developer after going through a system crash (or forced restart), as expected, but the rest of the code solves the issue without user intervention. BUG=none TEST=none R=jar@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=237274 Review URL: https://codereview.chromium.org/85643005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237430 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/disk_cache/block_files.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/disk_cache/block_files.cc b/net/disk_cache/block_files.cc
index 4f18341..d8d13e8 100644
--- a/net/disk_cache/block_files.cc
+++ b/net/disk_cache/block_files.cc
@@ -83,8 +83,7 @@ bool BlockHeader::CreateMapBlock(int size, int* index) {
disk_cache::FileLock lock(header_);
int index_offset = j * 4 + 4 - target;
*index = current * 32 + index_offset;
- DLOG_IF(ERROR, *index / 4 != (*index + size - 1) / 4) <<
- "Bit mismatch: index = " << *index << ", size = " << size;
+ DLOG_IF(ERROR, *index / 4 != (*index + size - 1) / 4) << "Bit mismatch";
uint32 to_add = ((1 << size) - 1) << index_offset;
header_->num_entries++;