summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Runtime/ConsoleObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibJS/Runtime/ConsoleObject.h')
-rw-r--r--Libraries/LibJS/Runtime/ConsoleObject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibJS/Runtime/ConsoleObject.h b/Libraries/LibJS/Runtime/ConsoleObject.h
index 77a764bd6a..83a2b6bcd2 100644
--- a/Libraries/LibJS/Runtime/ConsoleObject.h
+++ b/Libraries/LibJS/Runtime/ConsoleObject.h
@@ -31,14 +31,14 @@
namespace JS {
class ConsoleObject final : public Object {
+ JS_OBJECT(ConsoleObject, Object);
+
public:
explicit ConsoleObject(GlobalObject&);
virtual void initialize(Interpreter&, GlobalObject&) override;
virtual ~ConsoleObject() override;
private:
- virtual const char* class_name() const override { return "ConsoleObject"; }
-
JS_DECLARE_NATIVE_FUNCTION(log);
JS_DECLARE_NATIVE_FUNCTION(debug);
JS_DECLARE_NATIVE_FUNCTION(info);