mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:27:44 +00:00
LibWeb: Make factory method of Geometry::DOMRectReadOnly fallible
This commit is contained in:
parent
ec0049441c
commit
07db02cd2c
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