summaryrefslogtreecommitdiffstats
path: root/base/pickle.cc
diff options
context:
space:
mode:
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 2540391..4fa206e 100644
--- a/base/pickle.cc
+++ b/base/pickle.cc
@@ -377,7 +377,7 @@ void Pickle::TrimWriteData(int new_length) {
bool Pickle::Resize(size_t new_capacity) {
new_capacity = AlignInt(new_capacity, kPayloadUnit);
- CHECK(capacity_ != kCapacityReadOnly);
+ CHECK_NE(capacity_, kCapacityReadOnly);
void* p = realloc(header_, new_capacity);
if (!p)
return false;