1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:27:35 +00:00

LibWeb: Make SVGLength and SVGAnimatedLength GC-allocated

This commit is contained in:
Andreas Kling 2022-09-02 14:04:59 +02:00
parent 16fbb91aa1
commit 3905d54a9c
14 changed files with 139 additions and 126 deletions

View file

@ -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);