mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 18:35:07 +00:00
WebContent: Turn it into a MultiInstance service :^)
Port the WebContent service to the new MultiInstance mechanism that Sergey added. This means that every new WebContentView gets its very own segregated WebContent process.
This commit is contained in:
parent
ed351c7493
commit
59537cf257
5 changed files with 10 additions and 17 deletions
|
@ -37,8 +37,9 @@ WebContentClient::WebContentClient(WebContentView& view)
|
|||
|
||||
void WebContentClient::handshake()
|
||||
{
|
||||
auto response = send_sync<Messages::WebContentServer::Greet>();
|
||||
auto response = send_sync<Messages::WebContentServer::Greet>(getpid());
|
||||
set_my_client_id(response->client_id());
|
||||
set_server_pid(response->server_pid());
|
||||
}
|
||||
|
||||
void WebContentClient::handle(const Messages::WebContentClient::DidPaint& message)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue