Index: test/cctest/test-serialize.cc |
diff --git a/test/cctest/test-serialize.cc b/test/cctest/test-serialize.cc |
index 68e371b96edc43aa2bb6c9f82bbc80967097f9e6..8d3621d8a04b0beea0e60e0a93d6f42cfb6d9270 100644 |
--- a/test/cctest/test-serialize.cc |
+++ b/test/cctest/test-serialize.cc |
@@ -297,8 +297,8 @@ UNINITIALIZED_TEST(PartialSerialization) { |
isolate->bootstrapper()->NativesSourceLookup(i); |
} |
} |
- heap->CollectAllGarbage(Heap::kNoGCFlags); |
- heap->CollectAllGarbage(Heap::kNoGCFlags); |
+ heap->CollectAllGarbage(); |
+ heap->CollectAllGarbage(); |
Object* raw_foo; |
{ |
@@ -422,7 +422,7 @@ UNINITIALIZED_TEST(ContextSerialization) { |
} |
// If we don't do this then we end up with a stray root pointing at the |
// context even after we have disposed of env. |
- heap->CollectAllGarbage(Heap::kNoGCFlags); |
+ heap->CollectAllGarbage(); |
int file_name_length = StrLength(FLAG_testing_serialization_file) + 10; |
Vector<char> startup_name = Vector<char>::New(file_name_length + 1); |