summaryrefslogtreecommitdiff
path: root/Userland/Applications/Browser/Tab.cpp
diff options
context:
space:
mode:
authorRafał Babiarz <5783815+Sauler@users.noreply.github.com>2022-05-04 21:51:15 +0200
committerLinus Groh <mail@linusgroh.de>2022-05-05 21:54:38 +0200
commitdc66d16dc2e38f4588b10b655b405857d2784cd7 (patch)
tree72fb3b1a88116a2d2389c9a9947fd87c852292bb /Userland/Applications/Browser/Tab.cpp
parent969e5fa16356dfbfa4050fe30d4ba2f26bcb417e (diff)
downloadserenity-dc66d16dc2e38f4588b10b655b405857d2784cd7.zip
Browser: Rename "on_want_cookies" to match local storage equivalent
Diffstat (limited to 'Userland/Applications/Browser/Tab.cpp')
-rw-r--r--Userland/Applications/Browser/Tab.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/Browser/Tab.cpp b/Userland/Applications/Browser/Tab.cpp
index 745ae88556..c66291011d 100644
--- a/Userland/Applications/Browser/Tab.cpp
+++ b/Userland/Applications/Browser/Tab.cpp
@@ -603,8 +603,8 @@ void Tab::show_storage_inspector()
m_storage_widget = storage_window->set_main_widget<StorageWidget>();
}
- if (on_want_cookies) {
- auto cookies = on_want_cookies();
+ if (on_get_cookies_entries) {
+ auto cookies = on_get_cookies_entries();
m_storage_widget->clear_cookies();
for (auto cookie : cookies)
m_storage_widget->add_cookie(cookie);