summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Layout/SVGGraphicsBox.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/SVGGraphicsBox.h')
-rw-r--r--Userland/Libraries/LibWeb/Layout/SVGGraphicsBox.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/SVGGraphicsBox.h b/Userland/Libraries/LibWeb/Layout/SVGGraphicsBox.h
index 22320a8d34..205b7443fc 100644
--- a/Userland/Libraries/LibWeb/Layout/SVGGraphicsBox.h
+++ b/Userland/Libraries/LibWeb/Layout/SVGGraphicsBox.h
@@ -17,6 +17,8 @@ public:
SVGGraphicsBox(DOM::Document&, SVG::SVGGraphicsElement&, NonnullRefPtr<CSS::StyleProperties>);
virtual ~SVGGraphicsBox() override = default;
+ SVG::SVGGraphicsElement& dom_node() { return verify_cast<SVG::SVGGraphicsElement>(SVGBox::dom_node()); }
+
virtual void before_children_paint(PaintContext& context, PaintPhase phase) override;
};