1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 04:47:34 +00:00

LibWeb: Visit ImageProvider from Layout::ImageBox

Adds missing visit of HTMLElement that serves as image provider of
image layout node.
This commit is contained in:
Aliaksandr Kalenik 2024-02-26 17:36:48 +01:00 committed by Andreas Kling
parent 9fa22b60cf
commit ef01c735cd
6 changed files with 13 additions and 0 deletions

View file

@ -32,6 +32,8 @@ public:
void dom_node_did_update_alt_text(Badge<ImageProvider>);
private:
virtual void visit_edges(Visitor&) override;
ImageProvider const& m_image_provider;
Optional<CSSPixels> m_cached_alt_text_width;