Index: test/cctest/test-weaksets.cc |
diff --git a/test/cctest/test-weaksets.cc b/test/cctest/test-weaksets.cc |
index 9c6ae44bfafe1ac45ccc9ca1eb10571cad977093..dbb7311e83619f3770fdb0fc2f2ff3dd7e38b5dc 100644 |
--- a/test/cctest/test-weaksets.cc |
+++ b/test/cctest/test-weaksets.cc |
@@ -199,7 +199,7 @@ TEST(WeakSet_Regress2060a) { |
// Force compacting garbage collection. |
CHECK(FLAG_always_compact); |
- heap->CollectAllGarbage(Heap::kNoGCFlags); |
+ heap->CollectAllGarbage(); |
} |
@@ -241,7 +241,7 @@ TEST(WeakSet_Regress2060b) { |
// Force compacting garbage collection. The subsequent collections are used |
// to verify that key references were actually updated. |
CHECK(FLAG_always_compact); |
- heap->CollectAllGarbage(Heap::kNoGCFlags); |
- heap->CollectAllGarbage(Heap::kNoGCFlags); |
- heap->CollectAllGarbage(Heap::kNoGCFlags); |
+ heap->CollectAllGarbage(); |
+ heap->CollectAllGarbage(); |
+ heap->CollectAllGarbage(); |
} |