LibJS+LibWeb: Normalize calls to Base::visit_edges in GC objects

This commit is contained in:
Matthew Olsson 2023-03-20 13:37:11 -07:00 committed by Andreas Kling
commit 82eeee2008
Notes: sideshowbarker 2024-07-17 01:10:58 +09:00
17 changed files with 20 additions and 15 deletions

View file

@ -21,7 +21,7 @@ EventHandler::EventHandler(WebIDL::CallbackType& c)
void EventHandler::visit_edges(Cell::Visitor& visitor)
{
Cell::visit_edges(visitor);
Base::visit_edges(visitor);
visitor.visit(listener);
if (auto* callback = value.get_pointer<JS::GCPtr<WebIDL::CallbackType>>())