diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/MessageChannel.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/MessageChannel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/MessageChannel.cpp b/Userland/Libraries/LibWeb/HTML/MessageChannel.cpp index 8e71b7504b..b0c706a57a 100644 --- a/Userland/Libraries/LibWeb/HTML/MessageChannel.cpp +++ b/Userland/Libraries/LibWeb/HTML/MessageChannel.cpp @@ -13,7 +13,7 @@ namespace Web::HTML { JS::NonnullGCPtr<MessageChannel> MessageChannel::construct_impl(JS::Realm& realm) { - return *realm.heap().allocate<MessageChannel>(realm, realm); + return realm.heap().allocate<MessageChannel>(realm, realm); } MessageChannel::MessageChannel(JS::Realm& realm) |