mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-21 15:14:13 +00:00
LibJS+LibWeb: Normalize calls to Base::visit_edges in GC objects
This commit is contained in:
committed by
Andreas Kling
parent
98ed74087f
commit
82eeee2008
@@ -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>>())
|
||||
|
||||
Reference in New Issue
Block a user