Index: test/cctest/test-alloc.cc |
diff --git a/test/cctest/test-alloc.cc b/test/cctest/test-alloc.cc |
index 2aaa8dc7182853a6872cff0eba61ce91ac704069..2ab6a92ff427c3663782fb04565c3dd6104f6db7 100644 |
--- a/test/cctest/test-alloc.cc |
+++ b/test/cctest/test-alloc.cc |
@@ -38,7 +38,7 @@ using namespace v8::internal; |
static MaybeObject* AllocateAfterFailures() { |
static int attempts = 0; |
if (++attempts < 3) return Failure::RetryAfterGC(); |
- Heap* heap = CcTest::heap(); |
+ TestHeap* heap = CcTest::test_heap(); |
// New space. |
SimulateFullSpace(heap->new_space()); |