mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibWeb: Remove exceptions from DOMPoint because allocate is unfailable
This commit is contained in:
parent
271bfa63f3
commit
38bc8836d6
Notes:
sideshowbarker
2024-07-17 18:23:22 +09:00
Author: https://github.com/bplaat
Commit: 38bc8836d6
Pull-request: https://github.com/SerenityOS/serenity/pull/20584
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/gmta ✅
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