Index: src/heap/mark-compact.cc |
diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc |
index 0ac9b3bb61cee7a20bce4897fd166827a8f2ff32..f9eeaad0fca4df8a761ad1d1acba3ffc13451a30 100644 |
--- a/src/heap/mark-compact.cc |
+++ b/src/heap/mark-compact.cc |
@@ -169,7 +169,7 @@ class VerifyEvacuationVisitor : public ObjectVisitor { |
static void VerifyEvacuation(Page* page) { |
VerifyEvacuationVisitor visitor; |
- HeapObjectIterator iterator(page, NULL); |
+ HeapObjectIterator iterator(page); |
for (HeapObject* heap_object = iterator.Next(); heap_object != NULL; |
heap_object = iterator.Next()) { |
// We skip free space objects. |