summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/PrivateEnvironment.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-12-08 09:58:19 +0100
committerAndreas Kling <kling@serenityos.org>2021-12-08 10:29:54 +0100
commitf25899ca346087de0f034d0abfb1354da041b8b4 (patch)
tree0e16c6b5484556cb6994df86bf0ee930a9e8c480 /Userland/Libraries/LibJS/Runtime/PrivateEnvironment.h
parent4790f9a62877df6583c348e77995ee0a3f26df6b (diff)
downloadserenity-f25899ca346087de0f034d0abfb1354da041b8b4.zip
LibJS: Mark entire private environment chains during GC
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/PrivateEnvironment.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/PrivateEnvironment.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/PrivateEnvironment.h b/Userland/Libraries/LibJS/Runtime/PrivateEnvironment.h
index 81f8710cdf..2c129f2d05 100644
--- a/Userland/Libraries/LibJS/Runtime/PrivateEnvironment.h
+++ b/Userland/Libraries/LibJS/Runtime/PrivateEnvironment.h
@@ -36,6 +36,7 @@ public:
private:
virtual char const* class_name() const override { return "PrivateEnvironment"; }
+ virtual void visit_edges(Visitor&) override;
auto find_private_name(FlyString const& description) const
{