Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index 342da9f4b8e8981e079e02d462820f7e8ffaecb7..3eee25f760648a67a53b1fa1fc6d1798765c1c7c 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -1624,7 +1624,7 @@ TEST(TestSizeOfObjects) { |
AlwaysAllocateScope always_allocate(CcTest::i_isolate()); |
int filler_size = static_cast<int>(FixedArray::SizeFor(8192)); |
for (int i = 1; i <= 100; i++) { |
- CcTest::heap()->AllocateFixedArray(8192, TENURED)->ToObjectChecked(); |
+ CcTest::test_heap()->AllocateFixedArray(8192, TENURED)->ToObjectChecked(); |
CHECK_EQ(initial_size + i * filler_size, |
static_cast<int>(CcTest::heap()->SizeOfObjects())); |
} |