Ladybird+LibWeb+WebContent: Port the did_request_cookie IPC to String

This commit is contained in:
Timothy Flynn 2024-01-26 11:10:15 -05:00 committed by Andreas Kling
parent dcd9962d7b
commit 85b8971a80
Notes: sideshowbarker 2024-07-17 14:33:07 +09:00
14 changed files with 16 additions and 16 deletions

View file

@ -541,7 +541,7 @@ Tab& BrowserWindow::create_new_tab(Web::HTML::ActivateTab activate_tab)
return m_cookie_jar.get_named_cookie(url, name);
};
tab->view().on_get_cookie = [this](auto& url, auto source) -> ByteString {
tab->view().on_get_cookie = [this](auto& url, auto source) {
return m_cookie_jar.get_cookie(url, source);
};