mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
Userland: Get rid of the OwnPtr<...> boilerplate code for IPC handlers
This commit is contained in:
parent
1a015dc379
commit
7cf2839a26
Notes:
sideshowbarker
2024-07-18 18:47:43 +09:00
Author: https://github.com/gunnarbeutner
Commit: 7cf2839a26
Pull-request: https://github.com/SerenityOS/serenity/pull/6805
Reviewed-by: https://github.com/alimpfard
33 changed files with 389 additions and 385 deletions
|
@ -58,9 +58,9 @@ const Web::Page& ClientConnection::page() const
|
|||
return m_page_host->page();
|
||||
}
|
||||
|
||||
OwnPtr<Messages::WebContentServer::GreetResponse> ClientConnection::handle(const Messages::WebContentServer::Greet&)
|
||||
Messages::WebContentServer::GreetResponse ClientConnection::handle(const Messages::WebContentServer::Greet&)
|
||||
{
|
||||
return make<Messages::WebContentServer::GreetResponse>();
|
||||
return {};
|
||||
}
|
||||
|
||||
void ClientConnection::handle(const Messages::WebContentServer::UpdateSystemTheme& message)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue