mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +00:00
LibJS+LibWeb: Use new Cell::Visitor helpers to avoid manual iteration
This commit is contained in:
@@ -23,8 +23,7 @@ void TaskQueue::visit_edges(Visitor& visitor)
|
||||
{
|
||||
Base::visit_edges(visitor);
|
||||
visitor.visit(m_event_loop);
|
||||
for (auto& task : m_tasks)
|
||||
visitor.visit(task);
|
||||
visitor.visit(m_tasks);
|
||||
}
|
||||
|
||||
void TaskQueue::add(JS::NonnullGCPtr<Task> task)
|
||||
|
||||
Reference in New Issue
Block a user