From b03daaebe4b7dfdd5d3b2d8fa6db16b09f783d94 Mon Sep 17 00:00:00 2001 From: Jeremy Apthorp Date: Wed, 9 Jan 2019 15:21:51 -0800 Subject: [PATCH] ChildProcessData.{GetHandle() => GetProcess().GetHandle()} https://chromium-review.googlesource.com/c/1298345 --- atom/browser/api/atom_api_app.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/atom/browser/api/atom_api_app.cc b/atom/browser/api/atom_api_app.cc index 507701087456..a81cc0356cd2 100644 --- a/atom/browser/api/atom_api_app.cc +++ b/atom/browser/api/atom_api_app.cc @@ -780,24 +780,24 @@ void App::OnGpuProcessCrashed(base::TerminationStatus status) { void App::BrowserChildProcessLaunchedAndConnected( const content::ChildProcessData& data) { - ChildProcessLaunched(data.process_type, data.GetHandle()); + ChildProcessLaunched(data.process_type, data.GetProcess().Handle()); } void App::BrowserChildProcessHostDisconnected( const content::ChildProcessData& data) { - ChildProcessDisconnected(base::GetProcId(data.GetHandle())); + ChildProcessDisconnected(base::GetProcId(data.GetProcess().Handle())); } void App::BrowserChildProcessCrashed( const content::ChildProcessData& data, const content::ChildProcessTerminationInfo& info) { - ChildProcessDisconnected(base::GetProcId(data.GetHandle())); + ChildProcessDisconnected(base::GetProcId(data.GetProcess().Handle())); } void App::BrowserChildProcessKilled( const content::ChildProcessData& data, const content::ChildProcessTerminationInfo& info) { - ChildProcessDisconnected(base::GetProcId(data.GetHandle())); + ChildProcessDisconnected(base::GetProcId(data.GetProcess().Handle())); } void App::RenderProcessReady(content::RenderProcessHost* host) {