diff options
author | Timothy Flynn <trflynn89@pm.me> | 2021-04-13 17:01:20 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-14 16:07:46 +0200 |
commit | 7193e518d1190e54ba3a94cc42c4905a7be786a1 (patch) | |
tree | 1f810432657d794f4568f5ee063bb2ae8e231980 /Userland/Applications/Browser/CookieJar.cpp | |
parent | c2d38abe6f1b63d059f1c59e5f675bf917951847 (diff) | |
download | serenity-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.cpp | 2 |
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; |