summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWebView/WebContentClient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWebView/WebContentClient.cpp')
-rw-r--r--Userland/Libraries/LibWebView/WebContentClient.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWebView/WebContentClient.cpp b/Userland/Libraries/LibWebView/WebContentClient.cpp
index 25301251d2..d9b85d350c 100644
--- a/Userland/Libraries/LibWebView/WebContentClient.cpp
+++ b/Userland/Libraries/LibWebView/WebContentClient.cpp
@@ -240,9 +240,9 @@ void WebContentClient::did_update_cookie(Web::Cookie::Cookie const& cookie)
m_view.notify_server_did_update_cookie({}, cookie);
}
-Messages::WebContentClient::DidRequestNewTabResponse WebContentClient::did_request_new_tab()
+Messages::WebContentClient::DidRequestNewTabResponse WebContentClient::did_request_new_tab(Web::HTML::ActivateTab const& activate_tab)
{
- return m_view.notify_request_open_new_tab({});
+ return m_view.notify_server_did_request_new_tab({}, activate_tab);
}
void WebContentClient::did_close_browsing_context()