LibWeb: Allow ImageProvider subclasses to visit additional GC edges

More prep work for CSS content:image.
This commit is contained in:
Andreas Kling 2025-07-26 14:54:12 +02:00 committed by Andreas Kling
commit 77abe2a84d
Notes: github-actions[bot] 2025-07-28 20:48:07 +00:00
7 changed files with 12 additions and 3 deletions

View file

@ -76,6 +76,7 @@ void HTMLObjectElement::initialize(JS::Realm& realm)
void HTMLObjectElement::visit_edges(Cell::Visitor& visitor)
{
Base::visit_edges(visitor);
image_provider_visit_edges(visitor);
visitor.visit(m_resource_request);
visitor.visit(m_document_observer);
}