mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:17:44 +00:00
LibWeb: Remove exceptions from DOMPoint because allocate is unfailable
This commit is contained in:
parent
271bfa63f3
commit
38bc8836d6
5 changed files with 8 additions and 9 deletions
|
@ -16,7 +16,7 @@ class DOMPoint final : public DOMPointReadOnly {
|
|||
WEB_PLATFORM_OBJECT(DOMPoint, DOMPointReadOnly);
|
||||
|
||||
public:
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<DOMPoint>> construct_impl(JS::Realm&, double x = 0, double y = 0, double z = 0, double w = 1);
|
||||
static JS::NonnullGCPtr<DOMPoint> construct_impl(JS::Realm&, double x = 0, double y = 0, double z = 0, double w = 1);
|
||||
|
||||
static JS::NonnullGCPtr<DOMPoint> from_point(JS::VM&, DOMPointInit const&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue