mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
LibWeb: Allow ImageProvider subclasses to visit additional GC edges
More prep work for CSS content:image.
This commit is contained in:
committed by
Andreas Kling
parent
0e94c4e270
commit
77abe2a84d
Notes:
github-actions[bot]
2025-07-28 20:48:07 +00:00
Author: https://github.com/awesomekling Commit: https://github.com/LadybirdBrowser/ladybird/commit/77abe2a84db Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5621
@@ -79,6 +79,7 @@ void HTMLInputElement::initialize(JS::Realm& realm)
|
||||
void HTMLInputElement::visit_edges(Cell::Visitor& visitor)
|
||||
{
|
||||
Base::visit_edges(visitor);
|
||||
image_provider_visit_edges(visitor);
|
||||
visitor.visit(m_inner_text_element);
|
||||
visitor.visit(m_text_node);
|
||||
visitor.visit(m_placeholder_element);
|
||||
|
||||
Reference in New Issue
Block a user