summaryrefslogtreecommitdiffstats
path: root/base/pickle.cc
diff options
context:
space:
mode:
authorkushi.p@gmail.com <kushi.p@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-04 01:29:38 +0000
committerkushi.p@gmail.com <kushi.p@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-04 01:29:38 +0000
commite1be56dcd226056bb8af7f82bc1752bb289aa14b (patch)
tree46e3bf1eaa6d8d8c7f5180261643040c51e03e45 /base/pickle.cc
parent15a2084decf18de467200317261d2d6c8d5e631b (diff)
downloadchromium_src-e1be56dcd226056bb8af7f82bc1752bb289aa14b.zip
chromium_src-e1be56dcd226056bb8af7f82bc1752bb289aa14b.tar.gz
chromium_src-e1be56dcd226056bb8af7f82bc1752bb289aa14b.tar.bz2
Updating logging in src/base/. Using DCHECK_NE/EQ/LE/GE/GT() where possible
BUG=58409 Review URL: http://codereview.chromium.org/6883295 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84016 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/pickle.cc')
-rw-r--r--base/pickle.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/pickle.cc b/base/pickle.cc
index 80d362f..a1d2061 100644
--- a/base/pickle.cc
+++ b/base/pickle.cc
@@ -327,7 +327,7 @@ bool Pickle::WriteData(const char* data, int length) {
}
bool Pickle::WriteBytes(const void* data, int data_len) {
- DCHECK(capacity_ != kCapacityReadOnly) << "oops: pickle is readonly";
+ DCHECK_NE(kCapacityReadOnly, capacity_) << "oops: pickle is readonly";
char* dest = BeginWrite(data_len);
if (!dest)