Index: test/cctest/heap/test-array-buffer-tracker.cc |
diff --git a/test/cctest/heap/test-array-buffer-tracker.cc b/test/cctest/heap/test-array-buffer-tracker.cc |
index 173d1fa85fa6c1ac54b9d0ea2fa66b2b7c7811da..0f3663041f21cad2a708aa552186475b5ef44857 100644 |
--- a/test/cctest/heap/test-array-buffer-tracker.cc |
+++ b/test/cctest/heap/test-array-buffer-tracker.cc |
@@ -127,7 +127,7 @@ TEST(ArrayBuffer_Compaction) { |
heap::GcAndSweep(heap, NEW_SPACE); |
Page* page_before_gc = Page::FromAddress(buf1->address()); |
- page_before_gc->SetFlag(MemoryChunk::FORCE_EVACUATION_CANDIDATE_FOR_TESTING); |
+ heap::ForceEvacuationCandidate(page_before_gc); |
CHECK(IsTracked(*buf1)); |
CcTest::CollectAllGarbage(i::Heap::kFinalizeIncrementalMarkingMask); |