diff options
author | Matthew Olsson <matthewcolsson@gmail.com> | 2023-03-21 10:08:15 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-04-30 06:04:33 +0200 |
commit | a3344cab63e7441b9a166521d6ad7889e70083e7 (patch) | |
tree | b0351639a02be4a2e314751501010ffd6488c631 /Userland/Libraries/LibWeb/Fetch | |
parent | 48d92eecac7b594856d2b0c37a8a0165ebdb0e2c (diff) | |
download | serenity-a3344cab63e7441b9a166521d6ad7889e70083e7.zip |
LibWeb: Fix incorrect usage of JS::GCPtr
Diffstat (limited to 'Userland/Libraries/LibWeb/Fetch')
-rw-r--r-- | Userland/Libraries/LibWeb/Fetch/Infrastructure/HTTP/Requests.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Fetch/Infrastructure/HTTP/Requests.h b/Userland/Libraries/LibWeb/Fetch/Infrastructure/HTTP/Requests.h index 69ff04fc6f..7f1e4feff0 100644 --- a/Userland/Libraries/LibWeb/Fetch/Infrastructure/HTTP/Requests.h +++ b/Userland/Libraries/LibWeb/Fetch/Infrastructure/HTTP/Requests.h @@ -157,7 +157,7 @@ public: using OriginType = Variant<Origin, HTML::Origin>; using PolicyContainerType = Variant<PolicyContainer, HTML::PolicyContainer>; using ReferrerType = Variant<Referrer, AK::URL>; - using ReservedClientType = Variant<Empty, JS::GCPtr<HTML::Environment>, JS::GCPtr<HTML::EnvironmentSettingsObject>>; + using ReservedClientType = Variant<Empty, HTML::Environment*, JS::GCPtr<HTML::EnvironmentSettingsObject>>; using WindowType = Variant<Window, JS::GCPtr<HTML::EnvironmentSettingsObject>>; [[nodiscard]] static JS::NonnullGCPtr<Request> create(JS::VM&); |