1
Fork 0
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:
Bastiaan van der Plaat 2023-08-15 13:16:09 +02:00 committed by Jelle Raaijmakers
parent 271bfa63f3
commit 38bc8836d6
5 changed files with 8 additions and 9 deletions

View file

@ -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);
}
}