| Index: test/cctest/test-api.cc
|
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
|
| index 93c8e41f053795e02fb9a4cd698c525ec3db1ac2..fc7b0ba8750032d11feef1dd3287a26c21121f74 100644
|
| --- a/test/cctest/test-api.cc
|
| +++ b/test/cctest/test-api.cc
|
| @@ -13514,7 +13514,7 @@ THREADED_TEST(LockUnlockLock) {
|
|
|
|
|
| static int GetGlobalObjectsCount() {
|
| - CcTest::heap()->EnsureHeapIsIterable();
|
| + CcTest::heap()->MakeHeapIterable();
|
| int count = 0;
|
| i::HeapIterator it(CcTest::heap());
|
| for (i::HeapObject* object = it.next(); object != NULL; object = it.next())
|
|
|