diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/WebContentClient.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/WebContentClient.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/WebContentClient.cpp b/Userland/Libraries/LibWeb/WebContentClient.cpp index dd40e426be..087f9f9c9e 100644 --- a/Userland/Libraries/LibWeb/WebContentClient.cpp +++ b/Userland/Libraries/LibWeb/WebContentClient.cpp @@ -37,6 +37,12 @@ WebContentClient::WebContentClient(OutOfProcessWebView& view) handshake(); } +void WebContentClient::die() +{ + ASSERT(on_web_content_process_crash); + on_web_content_process_crash(); +} + void WebContentClient::handshake() { auto response = send_sync<Messages::WebContentServer::Greet>(getpid()); |