summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Runtime/SymbolObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibJS/Runtime/SymbolObject.h')
-rw-r--r--Libraries/LibJS/Runtime/SymbolObject.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Libraries/LibJS/Runtime/SymbolObject.h b/Libraries/LibJS/Runtime/SymbolObject.h
index 33c726cde0..763354b233 100644
--- a/Libraries/LibJS/Runtime/SymbolObject.h
+++ b/Libraries/LibJS/Runtime/SymbolObject.h
@@ -32,6 +32,8 @@
namespace JS {
class SymbolObject : public Object {
+ JS_OBJECT(SymbolObject, Object);
+
public:
static SymbolObject* create(GlobalObject&, Symbol&);
@@ -70,7 +72,6 @@ public:
private:
virtual void visit_children(Visitor&) override;
- virtual const char* class_name() const override { return "SymbolObject"; }
virtual bool is_symbol_object() const override { return true; }
Symbol& m_symbol;