Index: src/heap/spaces-inl.h |
diff --git a/src/heap/spaces-inl.h b/src/heap/spaces-inl.h |
index cfa23255c41c10b09de336b5bce3198764bd1186..7d73a70d8ee677719d3902ac694e906d3d20d24c 100644 |
--- a/src/heap/spaces-inl.h |
+++ b/src/heap/spaces-inl.h |
@@ -206,8 +206,8 @@ void MemoryChunk::UpdateHighWaterMark(Address mark) { |
PointerChunkIterator::PointerChunkIterator(Heap* heap) |
- : state_(kOldPointerState), |
- old_pointer_iterator_(heap->old_pointer_space()), |
+ : state_(kOldSpaceState), |
+ old_pointer_iterator_(heap->old_space()), |
map_iterator_(heap->map_space()), |
lo_iterator_(heap->lo_space()) {} |