1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 07:54:58 +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

@ -205,6 +205,7 @@ private:
virtual Optional<CSSPixelFraction> intrinsic_aspect_ratio() const override;
virtual RefPtr<Gfx::ImmutableBitmap> current_image_bitmap(Gfx::IntSize = {}) const override;
virtual void set_visible_in_viewport(bool) override;
virtual JS::NonnullGCPtr<DOM::Element const> to_html_element() const override { return *this; }
virtual void initialize(JS::Realm&) override;
virtual void visit_edges(Cell::Visitor&) override;