Userland: Get rid of the OwnPtr<...> boilerplate code for IPC handlers

This commit is contained in:
Gunnar Beutner 2021-05-02 04:39:36 +02:00 committed by Andreas Kling
commit 7cf2839a26
Notes: sideshowbarker 2024-07-18 18:47:43 +09:00
33 changed files with 389 additions and 385 deletions

View file

@ -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)