Index: test/cctest/test-debug.cc |
diff --git a/test/cctest/test-debug.cc b/test/cctest/test-debug.cc |
index deabe7fc65940a5b62430d070500d8ccfc3adcaa..d1158e544e7374033a7affb62cb109fb5e885ea1 100644 |
--- a/test/cctest/test-debug.cc |
+++ b/test/cctest/test-debug.cc |
@@ -426,7 +426,7 @@ void CheckDebuggerUnloaded(bool check_functions) { |
HEAP->CollectAllGarbage(Heap::kMakeHeapIterableMask); |
// Iterate the head and check that there are no debugger related objects left. |
- HeapIterator iterator; |
+ HeapIterator iterator(HEAP); |
for (HeapObject* obj = iterator.next(); obj != NULL; obj = iterator.next()) { |
CHECK(!obj->IsDebugInfo()); |
CHECK(!obj->IsBreakPointInfo()); |