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:
parent
a9cae56f8e
commit
44415af428
9 changed files with 78 additions and 43 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue