ChildProcessData.{GetHandle() => GetProcess().GetHandle()}

https://chromium-review.googlesource.com/c/1298345
This commit is contained in:
Jeremy Apthorp 2019-01-09 15:21:51 -08:00
parent 4ddd337a64
commit b03daaebe4

View file

@ -780,24 +780,24 @@ void App::OnGpuProcessCrashed(base::TerminationStatus status) {
void App::BrowserChildProcessLaunchedAndConnected( void App::BrowserChildProcessLaunchedAndConnected(
const content::ChildProcessData& data) { const content::ChildProcessData& data) {
ChildProcessLaunched(data.process_type, data.GetHandle()); ChildProcessLaunched(data.process_type, data.GetProcess().Handle());
} }
void App::BrowserChildProcessHostDisconnected( void App::BrowserChildProcessHostDisconnected(
const content::ChildProcessData& data) { const content::ChildProcessData& data) {
ChildProcessDisconnected(base::GetProcId(data.GetHandle())); ChildProcessDisconnected(base::GetProcId(data.GetProcess().Handle()));
} }
void App::BrowserChildProcessCrashed( void App::BrowserChildProcessCrashed(
const content::ChildProcessData& data, const content::ChildProcessData& data,
const content::ChildProcessTerminationInfo& info) { const content::ChildProcessTerminationInfo& info) {
ChildProcessDisconnected(base::GetProcId(data.GetHandle())); ChildProcessDisconnected(base::GetProcId(data.GetProcess().Handle()));
} }
void App::BrowserChildProcessKilled( void App::BrowserChildProcessKilled(
const content::ChildProcessData& data, const content::ChildProcessData& data,
const content::ChildProcessTerminationInfo& info) { const content::ChildProcessTerminationInfo& info) {
ChildProcessDisconnected(base::GetProcId(data.GetHandle())); ChildProcessDisconnected(base::GetProcId(data.GetProcess().Handle()));
} }
void App::RenderProcessReady(content::RenderProcessHost* host) { void App::RenderProcessReady(content::RenderProcessHost* host) {