mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:48:10 +00:00
LibWeb: Make factory method of Geometry::DOMPoint fallible
This commit is contained in:
parent
459959b297
commit
530ec85c4a
3 changed files with 6 additions and 5 deletions
|
@ -36,7 +36,7 @@ float SVGGeometryElement::get_total_length()
|
|||
JS::NonnullGCPtr<Geometry::DOMPoint> SVGGeometryElement::get_point_at_length(float distance)
|
||||
{
|
||||
(void)distance;
|
||||
return Geometry::DOMPoint::construct_impl(realm(), 0, 0, 0, 0);
|
||||
return Geometry::DOMPoint::construct_impl(realm(), 0, 0, 0, 0).release_value_but_fixme_should_propagate_errors();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue