summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Module.h
diff options
context:
space:
mode:
authorMatthew Olsson <matthewcolsson@gmail.com>2023-02-26 16:09:02 -0700
committerAndreas Kling <kling@serenityos.org>2023-03-15 08:48:49 +0100
commit7c0c1c8f4969abeec1436346f29081b3afbcdeab (patch)
tree985c294882161720a82dc54c70d0680e29700ec9 /Userland/Libraries/LibJS/Module.h
parent1df3652e272e1aa69b3a1f8d1730ec464242ada9 (diff)
downloadserenity-7c0c1c8f4969abeec1436346f29081b3afbcdeab.zip
LibJS+LibWeb: Wrap raw JS::Cell*/& fields in GCPtr/NonnullGCPtr
Diffstat (limited to 'Userland/Libraries/LibJS/Module.h')
-rw-r--r--Userland/Libraries/LibJS/Module.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Module.h b/Userland/Libraries/LibJS/Module.h
index 21ac836366..2e497efb53 100644
--- a/Userland/Libraries/LibJS/Module.h
+++ b/Userland/Libraries/LibJS/Module.h
@@ -36,7 +36,7 @@ struct ResolvedBinding {
}
Type type { Null };
- Module* module { nullptr };
+ GCPtr<Module> module;
DeprecatedFlyString export_name;
bool is_valid() const