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

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