diff options
Diffstat (limited to 'Userland/Services/WebContent')
-rw-r--r-- | Userland/Services/WebContent/ConsoleGlobalObject.cpp | 2 | ||||
-rw-r--r-- | Userland/Services/WebContent/ConsoleGlobalObject.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Services/WebContent/ConsoleGlobalObject.cpp b/Userland/Services/WebContent/ConsoleGlobalObject.cpp index 69dede6e7c..a1f1e15ba2 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_FUNCTION(ConsoleGlobalObject::inspected_node_getter) +JS_DEFINE_OLD_NATIVE_FUNCTION(ConsoleGlobalObject::inspected_node_getter) { auto* this_object = TRY_OR_DISCARD(vm.this_value(global_object).to_object(global_object)); diff --git a/Userland/Services/WebContent/ConsoleGlobalObject.h b/Userland/Services/WebContent/ConsoleGlobalObject.h index d3d5fa652f..c25708d1e9 100644 --- a/Userland/Services/WebContent/ConsoleGlobalObject.h +++ b/Userland/Services/WebContent/ConsoleGlobalObject.h @@ -41,7 +41,7 @@ private: virtual void visit_edges(Visitor&) override; // Because $0 is not a nice C++ function name - JS_DECLARE_NATIVE_FUNCTION(inspected_node_getter); + JS_DECLARE_OLD_NATIVE_FUNCTION(inspected_node_getter); Web::Bindings::WindowObject* m_window_object; }; |