Index: test/cctest/test-cpu-profiler.cc |
diff --git a/test/cctest/test-cpu-profiler.cc b/test/cctest/test-cpu-profiler.cc |
index d935b055e7e93c1225bbf36a265f8cf196bb94e3..8fc44a9e89aee16d75200cc4ee94a52e31b95b4a 100644 |
--- a/test/cctest/test-cpu-profiler.cc |
+++ b/test/cctest/test-cpu-profiler.cc |
@@ -1178,7 +1178,7 @@ TEST(FunctionCallSample) { |
// Collect garbage that might have be generated while installing |
// extensions. |
- CcTest::heap()->CollectAllGarbage(Heap::kNoGCFlags); |
+ CcTest::heap()->CollectAllGarbage(); |
CompileRun(call_function_test_source); |
v8::Local<v8::Function> function = GetFunction(*env, "start"); |