diff options
author | Kenneth Myhra <kennethmyhra@gmail.com> | 2023-02-12 21:30:29 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-02-18 00:52:47 +0100 |
commit | 3d79cdf09599f0a5f85fe73656ad79b8814d528b (patch) | |
tree | 53428a5ca3e3b77f7396d4a4d6ad17537defa60a /Userland/Libraries/LibWeb/HTML/MessageChannel.h | |
parent | 52e9839d8b452916428b4dc16b5c3107723bc277 (diff) | |
download | serenity-3d79cdf09599f0a5f85fe73656ad79b8814d528b.zip |
LibWeb: Make factory method of HTML::MessageChannel fallible
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/MessageChannel.h')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/MessageChannel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/MessageChannel.h b/Userland/Libraries/LibWeb/HTML/MessageChannel.h index ac472971cb..61b5ea47c3 100644 --- a/Userland/Libraries/LibWeb/HTML/MessageChannel.h +++ b/Userland/Libraries/LibWeb/HTML/MessageChannel.h @@ -16,7 +16,7 @@ class MessageChannel final : public Bindings::PlatformObject { WEB_PLATFORM_OBJECT(MessageChannel, Bindings::PlatformObject); public: - static JS::NonnullGCPtr<MessageChannel> construct_impl(JS::Realm&); + static WebIDL::ExceptionOr<JS::NonnullGCPtr<MessageChannel>> construct_impl(JS::Realm&); virtual ~MessageChannel() override; MessagePort* port1(); |