mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 06:47:34 +00:00
LibWeb: Remove exceptions from DOMPoint because allocate is unfailable
This commit is contained in:
parent
271bfa63f3
commit
38bc8836d6
5 changed files with 8 additions and 9 deletions
|
@ -34,7 +34,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).release_value_but_fixme_should_propagate_errors();
|
||||
return Geometry::DOMPoint::construct_impl(realm(), 0, 0, 0, 0);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue