mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 14:58:46 +00:00
LibJS: ArrayIterator needs to mark the array it's iterating
This commit is contained in:
parent
3143fea1eb
commit
d467a0ffef
Notes:
sideshowbarker
2024-07-19 02:49:39 +09:00
Author: https://github.com/awesomekling
Commit: d467a0ffef
2 changed files with 7 additions and 0 deletions
|
@ -45,4 +45,10 @@ ArrayIterator::~ArrayIterator()
|
|||
{
|
||||
}
|
||||
|
||||
void ArrayIterator::visit_children(Cell::Visitor & visitor)
|
||||
{
|
||||
Base::visit_children(visitor);
|
||||
visitor.visit(m_array);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue