diff options
author | Gunnar Beutner <gbeutner@serenityos.org> | 2021-05-02 05:20:28 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-02 08:11:38 +0200 |
commit | 889359b6f99a8ff043680ec5594dc369a9a372d9 (patch) | |
tree | 17eadf108b44ea2501f789583ba82fb940bda1fa /Userland/Libraries/LibWeb/WebContentClient.cpp | |
parent | 7cf2839a262a38e00f110bee1102020c658ac476 (diff) | |
download | serenity-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.cpp | 3 |
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) |