Index: test/cctest/test-threads.cc |
diff --git a/test/cctest/test-threads.cc b/test/cctest/test-threads.cc |
index 12042261f408d3ecffa5b7dfb5577de6aa998c99..0f332a3af7b0dfa2259a23e7c2326414fac617a0 100644 |
--- a/test/cctest/test-threads.cc |
+++ b/test/cctest/test-threads.cc |
@@ -97,7 +97,7 @@ class ThreadB : public v8::base::Thread { |
v8::Context::Scope context_scope(context); |
// Clear the caches by forcing major GC. |
- CcTest::heap()->CollectAllGarbage(v8::internal::Heap::kNoGCFlags); |
+ CcTest::heap()->CollectAllGarbage(); |
turn = SECOND_TIME_FILL_CACHE; |
break; |
} |