summaryrefslogtreecommitdiff
path: root/Userland/Services/WebContent/ConsoleGlobalObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Services/WebContent/ConsoleGlobalObject.cpp')
-rw-r--r--Userland/Services/WebContent/ConsoleGlobalObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/WebContent/ConsoleGlobalObject.cpp b/Userland/Services/WebContent/ConsoleGlobalObject.cpp
index f583b4e3a4..69dede6e7c 100644
--- a/Userland/Services/WebContent/ConsoleGlobalObject.cpp
+++ b/Userland/Services/WebContent/ConsoleGlobalObject.cpp
@@ -98,7 +98,7 @@ JS::ThrowCompletionOr<JS::MarkedValueList> ConsoleGlobalObject::internal_own_pro
return m_window_object->internal_own_property_keys();
}
-JS_DEFINE_NATIVE_GETTER(ConsoleGlobalObject::inspected_node_getter)
+JS_DEFINE_NATIVE_FUNCTION(ConsoleGlobalObject::inspected_node_getter)
{
auto* this_object = TRY_OR_DISCARD(vm.this_value(global_object).to_object(global_object));