mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:18:12 +00:00
LibWeb: Make factory methods of Geometry::DOMRect fallible
This commit is contained in:
parent
9b190b9509
commit
ec0049441c
4 changed files with 9 additions and 8 deletions
|
@ -1139,7 +1139,7 @@ WebIDL::ExceptionOr<void> Range::delete_contents()
|
|||
JS::NonnullGCPtr<Geometry::DOMRect> Range::get_bounding_client_rect() const
|
||||
{
|
||||
dbgln("(STUBBED) Range::get_bounding_client_rect()");
|
||||
return Geometry::DOMRect::construct_impl(realm(), 0, 0, 0, 0);
|
||||
return Geometry::DOMRect::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