mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:07:44 +00:00
LibWeb: Add const versions of SVGBox::dom_node() and friends
This commit is contained in:
parent
5f5fe103eb
commit
49fe232bc7
3 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,7 @@ public:
|
|||
virtual ~SVGBox() override = default;
|
||||
|
||||
SVG::SVGElement& dom_node() { return verify_cast<SVG::SVGElement>(*Box::dom_node()); }
|
||||
SVG::SVGElement const& dom_node() const { return verify_cast<SVG::SVGElement>(*Box::dom_node()); }
|
||||
|
||||
virtual void before_children_paint(PaintContext& context, PaintPhase phase) override;
|
||||
virtual void after_children_paint(PaintContext& context, PaintPhase phase) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue