summaryrefslogtreecommitdiff
path: root/Userland/Applications/Browser/CookieJar.cpp
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2021-04-13 17:01:20 -0400
committerAndreas Kling <kling@serenityos.org>2021-04-14 16:07:46 +0200
commit7193e518d1190e54ba3a94cc42c4905a7be786a1 (patch)
tree1f810432657d794f4568f5ee063bb2ae8e231980 /Userland/Applications/Browser/CookieJar.cpp
parentc2d38abe6f1b63d059f1c59e5f675bf917951847 (diff)
downloadserenity-7193e518d1190e54ba3a94cc42c4905a7be786a1.zip
Browser+LibWeb: Move the cookie structure into LibWeb
Diffstat (limited to 'Userland/Applications/Browser/CookieJar.cpp')
-rw-r--r--Userland/Applications/Browser/CookieJar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Browser/CookieJar.cpp b/Userland/Applications/Browser/CookieJar.cpp
index ce4383deab..97b100f034 100644
--- a/Userland/Applications/Browser/CookieJar.cpp
+++ b/Userland/Applications/Browser/CookieJar.cpp
@@ -157,7 +157,7 @@ void CookieJar::store_cookie(Web::Cookie::ParsedCookie& parsed_cookie, const URL
// https://tools.ietf.org/html/rfc6265#section-5.3
// 2. Create a new cookie with name cookie-name, value cookie-value. Set the creation-time and the last-access-time to the current date and time.
- Cookie cookie { move(parsed_cookie.name), move(parsed_cookie.value) };
+ Web::Cookie::Cookie cookie { move(parsed_cookie.name), move(parsed_cookie.value) };
cookie.creation_time = Core::DateTime::now();
cookie.last_access_time = cookie.creation_time;