mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
LibWeb: Add const versions of SVGBox::dom_node() and friends
This commit is contained in:
parent
5f5fe103eb
commit
49fe232bc7
Notes:
sideshowbarker
2024-07-17 23:07:41 +09:00
Author: https://github.com/AtkinsSJ
Commit: 49fe232bc7
Pull-request: https://github.com/SerenityOS/serenity/pull/12444
Reviewed-by: https://github.com/awesomekling
3 changed files with 3 additions and 0 deletions
|
@ -17,6 +17,7 @@ public:
|
|||
virtual ~SVGPathBox() override = default;
|
||||
|
||||
SVG::SVGPathElement& dom_node() { return verify_cast<SVG::SVGPathElement>(SVGGraphicsBox::dom_node()); }
|
||||
SVG::SVGPathElement const& dom_node() const { return verify_cast<SVG::SVGPathElement>(SVGGraphicsBox::dom_node()); }
|
||||
|
||||
virtual void paint(PaintContext& context, PaintPhase phase) override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue