summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Bindings/EventTargetWrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibWeb/Bindings/EventTargetWrapper.cpp')
-rw-r--r--Libraries/LibWeb/Bindings/EventTargetWrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibWeb/Bindings/EventTargetWrapper.cpp b/Libraries/LibWeb/Bindings/EventTargetWrapper.cpp
index 50c91d7622..879c03dbb6 100644
--- a/Libraries/LibWeb/Bindings/EventTargetWrapper.cpp
+++ b/Libraries/LibWeb/Bindings/EventTargetWrapper.cpp
@@ -50,7 +50,7 @@ EventTargetWrapper::~EventTargetWrapper()
JS::Value EventTargetWrapper::add_event_listener(JS::Interpreter& interpreter)
{
- auto* this_object = interpreter.this_value().to_object(interpreter.heap());
+ auto* this_object = interpreter.this_value().to_object(interpreter);
if (!this_object)
return {};
auto& arguments = interpreter.call_frame().arguments;