1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:47:46 +00:00

LibWeb: Add const versions of SVGBox::dom_node() and friends

This commit is contained in:
Sam Atkins 2022-02-11 12:27:22 +00:00 committed by Andreas Kling
parent 5f5fe103eb
commit 49fe232bc7
3 changed files with 3 additions and 0 deletions

View file

@ -18,6 +18,7 @@ public:
virtual ~SVGGraphicsBox() override = default;
SVG::SVGGraphicsElement& dom_node() { return verify_cast<SVG::SVGGraphicsElement>(SVGBox::dom_node()); }
SVG::SVGGraphicsElement const& dom_node() const { return verify_cast<SVG::SVGGraphicsElement>(SVGBox::dom_node()); }
virtual void before_children_paint(PaintContext& context, PaintPhase phase) override;
};