| Index: Source/platform/heap/HeapTest.cpp
|
| diff --git a/Source/platform/heap/HeapTest.cpp b/Source/platform/heap/HeapTest.cpp
|
| index 9534342188a31cb0cf581e83e3d767e4c2158da1..e4a8cb8e7470466a342aed7437fe954f6d1d966b 100644
|
| --- a/Source/platform/heap/HeapTest.cpp
|
| +++ b/Source/platform/heap/HeapTest.cpp
|
| @@ -3321,7 +3321,7 @@ TEST(HeapTest, CheckAndMarkPointer)
|
| {
|
| TestGCScope scope(ThreadState::HeapPointersOnStack);
|
| EXPECT_TRUE(scope.allThreadsParked()); // Fail the test if we could not park all threads.
|
| - Heap::prepareForGC();
|
| + Heap::makeConsistentForSweeping();
|
| for (size_t i = 0; i < objectAddresses.size(); i++) {
|
| EXPECT_TRUE(Heap::checkAndMarkPointer(&visitor, objectAddresses[i]));
|
| EXPECT_TRUE(Heap::checkAndMarkPointer(&visitor, endAddresses[i]));
|
|
|