1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 10:48:13 +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

@ -25,6 +25,8 @@ public:
virtual RefPtr<Gfx::ImmutableBitmap> current_image_bitmap(Gfx::IntSize) const = 0;
virtual void set_visible_in_viewport(bool) = 0;
virtual JS::NonnullGCPtr<DOM::Element const> to_html_element() const = 0;
protected:
static void did_update_alt_text(ImageBox&);
};