mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 19:29:16 +00:00
LibIPC: Stop exchanging client/server PIDs in greeting handshake
The PIDs were used for sharing shbufs between processes, but now that we have migrated to file descriptor passing, we no longer need to know the PID of the other side.
This commit is contained in:
@@ -45,9 +45,8 @@ void WebContentClient::die()
|
||||
|
||||
void WebContentClient::handshake()
|
||||
{
|
||||
auto response = send_sync<Messages::WebContentServer::Greet>(getpid());
|
||||
auto response = send_sync<Messages::WebContentServer::Greet>();
|
||||
set_my_client_id(response->client_id());
|
||||
set_server_pid(response->server_pid());
|
||||
}
|
||||
|
||||
void WebContentClient::handle(const Messages::WebContentClient::DidPaint& message)
|
||||
|
||||
Reference in New Issue
Block a user