Index: test/cctest/test-mementos.cc |
diff --git a/test/cctest/test-mementos.cc b/test/cctest/test-mementos.cc |
index 391c934475e86d6f51a45a16566e111256905700..9aa1e6d30e70c7fd8284fffe349242a10da217d2 100644 |
--- a/test/cctest/test-mementos.cc |
+++ b/test/cctest/test-mementos.cc |
@@ -36,7 +36,7 @@ static void SetUpNewSpaceWithPoisonedMementoAtTop() { |
NewSpace* new_space = heap->new_space(); |
// Make sure we can allocate some objects without causing a GC later. |
- heap->CollectAllGarbage(Heap::kAbortIncrementalMarkingMask); |
+ heap->CollectAllGarbage(); |
// Allocate a string, the GC may suspect a memento behind the string. |
Handle<SeqOneByteString> string = |