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 environment; // policy container // A policy container HTML::PolicyContainer policy_container; // document (default null) // Null or a Document - Web::DOM::Document* document { nullptr }; + JS::GCPtr document; // FIXME: on document ready (default null) // Null or an algorithm accepting a Document };