1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 07:28:11 +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,10 +21,10 @@ public:
virtual Gfx::Path& get_path() override;
NonnullRefPtr<SVGAnimatedLength> cx() const;
NonnullRefPtr<SVGAnimatedLength> cy() const;
NonnullRefPtr<SVGAnimatedLength> rx() const;
NonnullRefPtr<SVGAnimatedLength> ry() const;
JS::NonnullGCPtr<SVGAnimatedLength> cx() const;
JS::NonnullGCPtr<SVGAnimatedLength> cy() const;
JS::NonnullGCPtr<SVGAnimatedLength> rx() const;
JS::NonnullGCPtr<SVGAnimatedLength> ry() const;
private:
SVGEllipseElement(DOM::Document&, DOM::QualifiedName);