summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/Realm.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Realm.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Realm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Realm.h b/Userland/Libraries/LibJS/Runtime/Realm.h
index ff23af8b92..d1f4fecd73 100644
--- a/Userland/Libraries/LibJS/Runtime/Realm.h
+++ b/Userland/Libraries/LibJS/Runtime/Realm.h
@@ -20,6 +20,8 @@ namespace JS {
class Realm final
: public Cell
, public Weakable<Realm> {
+ JS_CELL(Realm, Cell);
+
public:
struct HostDefined {
virtual ~HostDefined() = default;
@@ -47,7 +49,6 @@ public:
void set_host_defined(OwnPtr<HostDefined> host_defined) { m_host_defined = move(host_defined); }
private:
- virtual StringView class_name() const override { return "Realm"sv; }
virtual void visit_edges(Visitor&) override;
Intrinsics* m_intrinsics { nullptr }; // [[Intrinsics]]