summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Runtime/ArrayIterator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibJS/Runtime/ArrayIterator.cpp')
-rw-r--r--Libraries/LibJS/Runtime/ArrayIterator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibJS/Runtime/ArrayIterator.cpp b/Libraries/LibJS/Runtime/ArrayIterator.cpp
index 6257ac1235..338ec0a0bc 100644
--- a/Libraries/LibJS/Runtime/ArrayIterator.cpp
+++ b/Libraries/LibJS/Runtime/ArrayIterator.cpp
@@ -45,9 +45,9 @@ ArrayIterator::~ArrayIterator()
{
}
-void ArrayIterator::visit_children(Cell::Visitor& visitor)
+void ArrayIterator::visit_edges(Cell::Visitor& visitor)
{
- Base::visit_children(visitor);
+ Base::visit_edges(visitor);
visitor.visit(m_array);
}