summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/SVG/SVGRectElement.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-09-02 14:04:59 +0200
committerAndreas Kling <kling@serenityos.org>2022-09-06 00:27:09 +0200
commit3905d54a9c8106c28053e1f5b7c0680c689631d6 (patch)
treed398a0b7dff725641c48912ee1842175ce074972 /Userland/Libraries/LibWeb/SVG/SVGRectElement.h
parent16fbb91aa1cbf89a037f9abd032b9040a09c2cd5 (diff)
downloadserenity-3905d54a9c8106c28053e1f5b7c0680c689631d6.zip
LibWeb: Make SVGLength and SVGAnimatedLength GC-allocated
Diffstat (limited to 'Userland/Libraries/LibWeb/SVG/SVGRectElement.h')
-rw-r--r--Userland/Libraries/LibWeb/SVG/SVGRectElement.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Userland/Libraries/LibWeb/SVG/SVGRectElement.h b/Userland/Libraries/LibWeb/SVG/SVGRectElement.h
index 9e647accf7..b80e539db4 100644
--- a/Userland/Libraries/LibWeb/SVG/SVGRectElement.h
+++ b/Userland/Libraries/LibWeb/SVG/SVGRectElement.h
@@ -21,12 +21,12 @@ public:
virtual Gfx::Path& get_path() override;
- NonnullRefPtr<SVGAnimatedLength> x() const;
- NonnullRefPtr<SVGAnimatedLength> y() const;
- NonnullRefPtr<SVGAnimatedLength> width() const;
- NonnullRefPtr<SVGAnimatedLength> height() const;
- NonnullRefPtr<SVGAnimatedLength> rx() const;
- NonnullRefPtr<SVGAnimatedLength> ry() const;
+ JS::NonnullGCPtr<SVGAnimatedLength> x() const;
+ JS::NonnullGCPtr<SVGAnimatedLength> y() const;
+ JS::NonnullGCPtr<SVGAnimatedLength> width() const;
+ JS::NonnullGCPtr<SVGAnimatedLength> height() const;
+ JS::NonnullGCPtr<SVGAnimatedLength> rx() const;
+ JS::NonnullGCPtr<SVGAnimatedLength> ry() const;
private:
SVGRectElement(DOM::Document&, DOM::QualifiedName);