mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 19:19:30 +00:00
LibWeb: Make factory method of Geometry::DOMRectReadOnly fallible
This commit is contained in:
parent
ec0049441c
commit
07db02cd2c
Notes:
sideshowbarker
2024-07-17 06:54:15 +09:00
Author: https://github.com/kennethmyhra
Commit: 07db02cd2c
Pull-request: https://github.com/SerenityOS/serenity/pull/17542
2 changed files with 4 additions and 3 deletions
|
@ -17,7 +17,7 @@ class DOMRectReadOnly : public Bindings::PlatformObject {
|
|||
WEB_PLATFORM_OBJECT(DOMRectReadOnly, Bindings::PlatformObject);
|
||||
|
||||
public:
|
||||
static JS::NonnullGCPtr<DOMRectReadOnly> construct_impl(JS::Realm&, double x = 0, double y = 0, double width = 0, double height = 0);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<DOMRectReadOnly>> construct_impl(JS::Realm&, double x = 0, double y = 0, double width = 0, double height = 0);
|
||||
|
||||
virtual ~DOMRectReadOnly() override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue