LibWeb: Add a few missing visits to m_rel_list members

This commit is contained in:
Matthew Olsson
2024-05-17 14:06:27 -07:00
committed by Andreas Kling
parent 3ccbc83168
commit 74aeb57631
6 changed files with 16 additions and 0 deletions

View File

@@ -27,6 +27,12 @@ void HTMLAreaElement::initialize(JS::Realm& realm)
WEB_SET_PROTOTYPE_FOR_INTERFACE(HTMLAreaElement);
}
void HTMLAreaElement::visit_edges(Cell::Visitor& visitor)
{
Base::visit_edges(visitor);
visitor.visit(m_rel_list);
}
void HTMLAreaElement::attribute_changed(FlyString const& name, Optional<String> const& value)
{
HTMLElement::attribute_changed(name, value);