LibWeb: Make SVGLength and SVGAnimatedLength GC-allocated

This commit is contained in:
Andreas Kling 2022-09-02 14:04:59 +02:00
commit 3905d54a9c
Notes: sideshowbarker 2024-07-17 08:59:18 +09:00
14 changed files with 139 additions and 126 deletions

View file

@ -21,9 +21,9 @@ public:
virtual Gfx::Path& get_path() override;
NonnullRefPtr<SVGAnimatedLength> cx() const;
NonnullRefPtr<SVGAnimatedLength> cy() const;
NonnullRefPtr<SVGAnimatedLength> r() const;
JS::NonnullGCPtr<SVGAnimatedLength> cx() const;
JS::NonnullGCPtr<SVGAnimatedLength> cy() const;
JS::NonnullGCPtr<SVGAnimatedLength> r() const;
private:
SVGCircleElement(DOM::Document&, DOM::QualifiedName);