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