Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index ec76d586772e729b57b6beef971d9ed2439c8f40..ed5ae1cf0ca022e674f43dda5b42d12c4ac9190c 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -4699,8 +4699,8 @@ TEST(LargeObjectSlotRecording) { |
// Start incremental marking to active write barrier. |
SimulateIncrementalMarking(heap, false); |
- heap->AdvanceIncrementalMarking(10000000, 10000000, |
- IncrementalMarking::IdleStepActions()); |
+ heap->incremental_marking()->AdvanceIncrementalMarking( |
+ 10000000, 10000000, IncrementalMarking::IdleStepActions()); |
// Create references from the large object to the object on the evacuation |
// candidate. |