Index: test/cctest/heap/test-mark-compact.cc |
diff --git a/test/cctest/heap/test-mark-compact.cc b/test/cctest/heap/test-mark-compact.cc |
index abd8e551008fd4e58f80cf3e07ef7b32f395d606..f77586e87870fcf225a2798ec0f218b4ff17ccdf 100644 |
--- a/test/cctest/heap/test-mark-compact.cc |
+++ b/test/cctest/heap/test-mark-compact.cc |
@@ -355,8 +355,7 @@ TEST(Regress5829) { |
ClearRecordedSlots::kNo); |
heap->old_space()->EmptyAllocationInfo(); |
Page* page = Page::FromAddress(array->address()); |
- LiveObjectIterator<kGreyObjects> it(page, |
- MarkingState::FromPageInternal(page)); |
+ LiveObjectIterator<kGreyObjects> it(page, MarkingState::Internal(page)); |
HeapObject* object = nullptr; |
while ((object = it.Next()) != nullptr) { |
CHECK(!object->IsFiller()); |