summaryrefslogtreecommitdiff
path: root/Userland/Applications/Browser/StorageWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/Browser/StorageWidget.cpp')
-rw-r--r--Userland/Applications/Browser/StorageWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Browser/StorageWidget.cpp b/Userland/Applications/Browser/StorageWidget.cpp
index 9a9b20124a..624068c647 100644
--- a/Userland/Applications/Browser/StorageWidget.cpp
+++ b/Userland/Applications/Browser/StorageWidget.cpp
@@ -130,7 +130,7 @@ void StorageWidget::clear_session_storage_entries()
void StorageWidget::delete_cookie(Web::Cookie::Cookie cookie)
{
// Delete cookie by making its expiry time in the past.
- cookie.expiry_time = Duration::from_seconds(0);
+ cookie.expiry_time = UnixDateTime::earliest();
if (on_update_cookie)
on_update_cookie(move(cookie));
}