summaryrefslogtreecommitdiffstats
path: root/base/allocator
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-02 18:29:42 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-02 18:29:42 +0000
commit37199a82379c63b9daad59ba5bfb9ab99f23f7b9 (patch)
tree9ba5ed1b507fcc5d4882598760e16d8b3f69f4ef /base/allocator
parent394337cffb08b083513f3f93c7137aea788af5fa (diff)
downloadchromium_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/allocator')
-rw-r--r--base/allocator/allocator_unittests.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/allocator/allocator_unittests.cc b/base/allocator/allocator_unittests.cc
index fdda081..b1aa9cb 100644
--- a/base/allocator/allocator_unittests.cc
+++ b/base/allocator/allocator_unittests.cc
@@ -407,7 +407,7 @@ TEST(Allocators, Realloc1) {
// Test again, but this time reallocing smaller first.
for (int d = 0; d < s*2; ++d) {
void* new_p = realloc(p, start_sizes[s] - deltas[d]);
- CHECK(p == new_p); // realloc should not allocate new memory
+ CHECK_EQ(p, new_p); // realloc should not allocate new memory
}
free(p);
}