mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-07 00:29:47 +00:00
LibWeb: Allow ImageProvider subclasses to visit additional GC edges
More prep work for CSS content:image.
This commit is contained in:
parent
0e94c4e270
commit
77abe2a84d
Notes:
github-actions[bot]
2025-07-28 20:48:07 +00:00
Author: https://github.com/awesomekling
Commit: 77abe2a84d
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5621
7 changed files with 12 additions and 3 deletions
|
@ -86,6 +86,7 @@ void HTMLImageElement::adopted_from(DOM::Document& old_document)
|
|||
void HTMLImageElement::visit_edges(Cell::Visitor& visitor)
|
||||
{
|
||||
Base::visit_edges(visitor);
|
||||
image_provider_visit_edges(visitor);
|
||||
visitor.visit(m_current_request);
|
||||
visitor.visit(m_pending_request);
|
||||
visitor.visit(m_document_observer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue