diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/Scripting/WindowEnvironmentSettingsObject.h')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/Scripting/WindowEnvironmentSettingsObject.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/Scripting/WindowEnvironmentSettingsObject.h b/Userland/Libraries/LibWeb/HTML/Scripting/WindowEnvironmentSettingsObject.h index f15a2397e1..d14300b84c 100644 --- a/Userland/Libraries/LibWeb/HTML/Scripting/WindowEnvironmentSettingsObject.h +++ b/Userland/Libraries/LibWeb/HTML/Scripting/WindowEnvironmentSettingsObject.h @@ -17,7 +17,7 @@ public: virtual ~WindowEnvironmentSettingsObject() override = default; - virtual RefPtr<DOM::Document> responsible_document() override; + virtual JS::GCPtr<DOM::Document> responsible_document() override; virtual String api_url_character_encoding() override; virtual AK::URL api_base_url() override; virtual Origin origin() override; @@ -26,7 +26,7 @@ public: private: WindowEnvironmentSettingsObject(Window&, NonnullOwnPtr<JS::ExecutionContext>); - NonnullRefPtr<Window> m_window; + JS::Handle<Window> m_window; }; } |