summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/WebContentClient.cpp
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-05-02 05:20:28 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-02 08:11:38 +0200
commit889359b6f99a8ff043680ec5594dc369a9a372d9 (patch)
tree17eadf108b44ea2501f789583ba82fb940bda1fa /Userland/Libraries/LibWeb/WebContentClient.cpp
parent7cf2839a262a38e00f110bee1102020c658ac476 (diff)
downloadserenity-889359b6f99a8ff043680ec5594dc369a9a372d9.zip
Userland: Make IPC handlers return void if they don't have any outputs
Diffstat (limited to 'Userland/Libraries/LibWeb/WebContentClient.cpp')
-rw-r--r--Userland/Libraries/LibWeb/WebContentClient.cpp3
1 files changed, 1 insertions, 2 deletions
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)