1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 17:55:08 +00:00

LibWeb: Visit constructor callback in CustomElementDefinition

This commit is contained in:
Aliaksandr Kalenik 2024-03-11 19:24:43 +01:00 committed by Alexander Kalenik
parent 3b4230e0b0
commit bf8bbea209
2 changed files with 3 additions and 2 deletions

View file

@ -11,6 +11,7 @@ namespace Web::HTML {
void CustomElementDefinition::visit_edges(Visitor& visitor)
{
Base::visit_edges(visitor);
visitor.visit(m_constructor);
for (auto& callback : m_lifecycle_callbacks)
visitor.visit(callback.value);
}