Index: test/cctest/test-mark-compact.cc |
diff --git a/test/cctest/test-mark-compact.cc b/test/cctest/test-mark-compact.cc |
index 586b948d69251e6a43a593ea1d8f19138423e87f..a68530189e383107375e747f9b6448ce2dc5a99a 100644 |
--- a/test/cctest/test-mark-compact.cc |
+++ b/test/cctest/test-mark-compact.cc |
@@ -128,7 +128,7 @@ TEST(MarkCompactCollector) { |
FLAG_incremental_marking = false; |
CcTest::InitializeVM(); |
Isolate* isolate = CcTest::i_isolate(); |
- Heap* heap = isolate->heap(); |
+ TestHeap* heap = CcTest::test_heap(); |
Factory* factory = isolate->factory(); |
v8::HandleScope sc(CcTest::isolate()); |