Index: test/cctest/test-mementos.cc |
diff --git a/test/cctest/test-mementos.cc b/test/cctest/test-mementos.cc |
index 4c85151b88c11ed1a7cc11999c1393f62336df75..25cc65adb0c3654d76e7865b619ed613bfef6049 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 = |