1
Fork 0
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:
Kenneth Myhra 2023-02-19 18:31:05 +01:00 committed by Andreas Kling
parent ec0049441c
commit 07db02cd2c
2 changed files with 4 additions and 3 deletions

View file

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