1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:47:36 +00:00

LibWeb: Make DOMPoint and DOMPointReadOnly GC-allocated

This commit is contained in:
Andreas Kling 2022-09-03 21:32:14 +02:00
parent a9cae56f8e
commit 44415af428
9 changed files with 78 additions and 43 deletions

View file

@ -21,7 +21,7 @@ public:
virtual Gfx::Path& get_path() = 0;
float get_total_length();
NonnullRefPtr<Geometry::DOMPoint> get_point_at_length(float distance);
JS::NonnullGCPtr<Geometry::DOMPoint> get_point_at_length(float distance);
protected:
SVGGeometryElement(DOM::Document& document, DOM::QualifiedName qualified_name);