LibWeb: Add missing JS::GCPtr wrappers in HTMLLinkElement

This commit is contained in:
Matthew Olsson 2023-03-20 13:30:04 -07:00 committed by Andreas Kling
commit 3f22919eb5
Notes: sideshowbarker 2024-07-17 06:00:02 +09:00

View file

@ -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
};