diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-02 18:29:42 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-02 18:29:42 +0000 |
commit | 37199a82379c63b9daad59ba5bfb9ab99f23f7b9 (patch) | |
tree | 9ba5ed1b507fcc5d4882598760e16d8b3f69f4ef /base/pickle.cc | |
parent | 394337cffb08b083513f3f93c7137aea788af5fa (diff) | |
download | chromium_src-37199a82379c63b9daad59ba5bfb9ab99f23f7b9.zip chromium_src-37199a82379c63b9daad59ba5bfb9ab99f23f7b9.tar.gz chromium_src-37199a82379c63b9daad59ba5bfb9ab99f23f7b9.tar.bz2 |
Switch base to using CHECK_*.
Review URL: http://codereview.chromium.org/660357
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40394 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/pickle.cc')
-rw-r--r-- | base/pickle.cc | 2 |
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; |