diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-01 20:53:58 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-01 20:53:58 +0000 |
commit | dedd33e7ad19964bab22f4d35c4f66872c463c3d (patch) | |
tree | 2374d9ad70f494e4819e601865ff70f216b8b329 /base/allocator | |
parent | 4fe33f6f7c6a501136b476e2e51c5577413f50b8 (diff) | |
download | chromium_src-dedd33e7ad19964bab22f4d35c4f66872c463c3d.zip chromium_src-dedd33e7ad19964bab22f4d35c4f66872c463c3d.tar.gz chromium_src-dedd33e7ad19964bab22f4d35c4f66872c463c3d.tar.bz2 |
Revert r40289: "Add support for CHECK_* macros."
Broke official build compilation (only worked on debug/release builds).
Review URL: http://codereview.chromium.org/661298
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40296 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/allocator')
-rw-r--r-- | base/allocator/allocator_unittests.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/base/allocator/allocator_unittests.cc b/base/allocator/allocator_unittests.cc index fdda081..919cfab 100644 --- a/base/allocator/allocator_unittests.cc +++ b/base/allocator/allocator_unittests.cc @@ -402,7 +402,7 @@ TEST(Allocators, Realloc1) { // The larger the start-size, the larger the non-reallocing delta. for (int d = 0; d < s*2; ++d) { void* new_p = realloc(p, start_sizes[s] + deltas[d]); - CHECK_EQ(p, new_p); // realloc should not allocate new memory + CHECK(p == new_p); // realloc should not allocate new memory } // Test again, but this time reallocing smaller first. for (int d = 0; d < s*2; ++d) { @@ -487,3 +487,4 @@ int main(int argc, char** argv) { testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); } + |