summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/MessagePort.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/MessagePort.cpp')
-rw-r--r--Userland/Libraries/LibWeb/HTML/MessagePort.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/MessagePort.cpp b/Userland/Libraries/LibWeb/HTML/MessagePort.cpp
index b65a366583..461ff967b6 100644
--- a/Userland/Libraries/LibWeb/HTML/MessagePort.cpp
+++ b/Userland/Libraries/LibWeb/HTML/MessagePort.cpp
@@ -16,7 +16,7 @@ namespace Web::HTML {
JS::NonnullGCPtr<MessagePort> MessagePort::create(JS::Realm& realm)
{
- return *realm.heap().allocate<MessagePort>(realm, realm);
+ return realm.heap().allocate<MessagePort>(realm, realm);
}
MessagePort::MessagePort(JS::Realm& realm)