diff options
author | Matthew Olsson <matthewcolsson@gmail.com> | 2023-03-20 13:30:04 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-04-30 06:04:33 +0200 |
commit | 3f22919eb5547dbde98da86bb7aff5858e934f09 (patch) | |
tree | 80961a9bca5638205cfcde9c735b8b39006a626a /Userland/Libraries | |
parent | bc3eb6d65f847e68d5c5f5d065bd4872f7c7e076 (diff) | |
download | serenity-3f22919eb5547dbde98da86bb7aff5858e934f09.zip |
LibWeb: Add missing JS::GCPtr wrappers in HTMLLinkElement
Diffstat (limited to 'Userland/Libraries')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/HTMLLinkElement.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLLinkElement.h b/Userland/Libraries/LibWeb/HTML/HTMLLinkElement.h index 1d65e947e6..9afd820acd 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLLinkElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLLinkElement.h @@ -79,13 +79,13 @@ private: HTML::Origin origin; // environment // An environment - HTML::EnvironmentSettingsObject* environment; + JS::GCPtr<HTML::EnvironmentSettingsObject> environment; // policy container // A policy container HTML::PolicyContainer policy_container; // document (default null) // Null or a Document - Web::DOM::Document* document { nullptr }; + JS::GCPtr<Web::DOM::Document> document; // FIXME: on document ready (default null) // Null or an algorithm accepting a Document }; |