From 889359b6f99a8ff043680ec5594dc369a9a372d9 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sun, 2 May 2021 05:20:28 +0200 Subject: Userland: Make IPC handlers return void if they don't have any outputs --- Userland/Libraries/LibWeb/WebContentClient.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Userland/Libraries/LibWeb/WebContentClient.cpp') diff --git a/Userland/Libraries/LibWeb/WebContentClient.cpp b/Userland/Libraries/LibWeb/WebContentClient.cpp index 53284b936b..310b061566 100644 --- a/Userland/Libraries/LibWeb/WebContentClient.cpp +++ b/Userland/Libraries/LibWeb/WebContentClient.cpp @@ -147,10 +147,9 @@ void WebContentClient::handle(const Messages::WebContentClient::DidJSConsoleOutp m_view.notify_server_did_js_console_output(message.method(), message.line()); } -Messages::WebContentClient::DidRequestAlertResponse WebContentClient::handle(const Messages::WebContentClient::DidRequestAlert& message) +void WebContentClient::handle(const Messages::WebContentClient::DidRequestAlert& message) { m_view.notify_server_did_request_alert({}, message.message()); - return {}; } Messages::WebContentClient::DidRequestConfirmResponse WebContentClient::handle(const Messages::WebContentClient::DidRequestConfirm& message) -- cgit v1.2.3