From b7bc3ec20d47d539a148c0978f6ed43a998ab507 Mon Sep 17 00:00:00 2001 From: deepak1556 Date: Wed, 11 Apr 2018 14:56:56 +0530 Subject: [PATCH] Update AtomBrowserClient::RenderProcessWillLaunch api https://chromium-review.googlesource.com/c/chromium/src/+/742344 --- atom/browser/atom_browser_client.cc | 3 ++- atom/browser/atom_browser_client.h | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/atom/browser/atom_browser_client.cc b/atom/browser/atom_browser_client.cc index f7436c77610e..b0faea1b5a01 100644 --- a/atom/browser/atom_browser_client.cc +++ b/atom/browser/atom_browser_client.cc @@ -166,7 +166,8 @@ bool AtomBrowserClient::RendererDisablesPopups(int process_id) { } void AtomBrowserClient::RenderProcessWillLaunch( - content::RenderProcessHost* host) { + content::RenderProcessHost* host, + service_manager::mojom::ServiceRequest* service_request)) { // When a render process is crashed, it might be reused. int process_id = host->GetID(); if (IsProcessObserved(process_id)) diff --git a/atom/browser/atom_browser_client.h b/atom/browser/atom_browser_client.h index abb1f81db75d..de04934e2c70 100644 --- a/atom/browser/atom_browser_client.h +++ b/atom/browser/atom_browser_client.h @@ -48,7 +48,9 @@ class AtomBrowserClient : public brightray::BrowserClient, protected: // content::ContentBrowserClient: - void RenderProcessWillLaunch(content::RenderProcessHost* host) override; + void RenderProcessWillLaunch( + content::RenderProcessHost* host, + service_manager::mojom::ServiceRequest* service_request) override; content::SpeechRecognitionManagerDelegate* CreateSpeechRecognitionManagerDelegate() override; void OverrideWebkitPrefs(content::RenderViewHost* render_view_host,