Index: test/cctest/heap/test-compaction.cc |
diff --git a/test/cctest/heap/test-compaction.cc b/test/cctest/heap/test-compaction.cc |
index 6563ad164ba9a5b72cd35eee08b774fa022c7dea..b7780fa4096df3fabc530311fcc421d2f9d46211 100644 |
--- a/test/cctest/heap/test-compaction.cc |
+++ b/test/cctest/heap/test-compaction.cc |
@@ -26,7 +26,7 @@ void CheckInvariantsOfAbortedPage(Page* page) { |
// 1) Markbits are cleared |
// 2) The page is not marked as evacuation candidate anymore |
// 3) The page is not marked as aborted compaction anymore. |
- CHECK(page->markbits()->IsClean()); |
+ CHECK(MarkingState::Internal(page).bitmap()->IsClean()); |
CHECK(!page->IsEvacuationCandidate()); |
CHECK(!page->IsFlagSet(Page::COMPACTION_WAS_ABORTED)); |
} |