From 3f22919eb5547dbde98da86bb7aff5858e934f09 Mon Sep 17 00:00:00 2001 From: Matthew Olsson Date: Mon, 20 Mar 2023 13:30:04 -0700 Subject: [PATCH] LibWeb: Add missing JS::GCPtr wrappers in HTMLLinkElement --- Userland/Libraries/LibWeb/HTML/HTMLLinkElement.h | 4 ++-- 1 file 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 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 };