1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 07:37:44 +00:00

LibWeb: Make factory method of HTML::MessagePort fallible

This commit is contained in:
Kenneth Myhra 2023-02-12 22:30:39 +01:00 committed by Linus Groh
parent 7ec444047c
commit 471ad7ba01
4 changed files with 8 additions and 8 deletions

View file

@ -22,7 +22,7 @@ class MessagePort final : public DOM::EventTarget {
WEB_PLATFORM_OBJECT(MessagePort, DOM::EventTarget);
public:
static JS::NonnullGCPtr<MessagePort> create(JS::Realm&);
static WebIDL::ExceptionOr<JS::NonnullGCPtr<MessagePort>> create(JS::Realm&);
virtual ~MessagePort() override;