summaryrefslogtreecommitdiff
path: root/Userland/Services/WebContent/ConsoleGlobalObject.h
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-10-19 20:14:01 +0300
committerLinus Groh <mail@linusgroh.de>2021-10-20 12:27:19 +0100
commit56e769e4ba0cc63684930dda6df8ab6fe5c98b33 (patch)
tree0a144d377338feab28a9235e9fc41b1dd2a8fbed /Userland/Services/WebContent/ConsoleGlobalObject.h
parentae9b52e387f959dc516ad0b526196f22fe8c7a47 (diff)
downloadserenity-56e769e4ba0cc63684930dda6df8ab6fe5c98b33.zip
LibJS: Replace usages of JS_{DECLARE, DEFINE}_NATIVE_GETTER
These macros are equivalent to JS_{DECLARE, DEFINE}_NATIVE_FUNCTION and were only sometimes used, so let's just get rid of them altogether.
Diffstat (limited to 'Userland/Services/WebContent/ConsoleGlobalObject.h')
-rw-r--r--Userland/Services/WebContent/ConsoleGlobalObject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/WebContent/ConsoleGlobalObject.h b/Userland/Services/WebContent/ConsoleGlobalObject.h
index af648aa6e6..d3d5fa652f 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_GETTER(inspected_node_getter);
+ JS_DECLARE_NATIVE_FUNCTION(inspected_node_getter);
Web::Bindings::WindowObject* m_window_object;
};