GetHandle() -> GetProcess().Handle()
This commit is contained in:
parent
1c60f9e468
commit
b9cd3493ac
3 changed files with 5 additions and 3 deletions
|
@ -800,7 +800,8 @@ void App::BrowserChildProcessKilled(
|
|||
}
|
||||
|
||||
void App::RenderProcessReady(content::RenderProcessHost* host) {
|
||||
ChildProcessLaunched(content::PROCESS_TYPE_RENDERER, host->GetHandle());
|
||||
ChildProcessLaunched(content::PROCESS_TYPE_RENDERER,
|
||||
host->GetProcess().Handle());
|
||||
}
|
||||
|
||||
void App::RenderProcessDisconnected(base::ProcessId host_pid) {
|
||||
|
|
|
@ -1103,7 +1103,7 @@ int WebContents::GetProcessID() const {
|
|||
|
||||
base::ProcessId WebContents::GetOSProcessID() const {
|
||||
base::ProcessHandle process_handle =
|
||||
web_contents()->GetMainFrame()->GetProcess()->GetHandle();
|
||||
web_contents()->GetMainFrame()->GetProcess()->GetProcess().Handle();
|
||||
return base::GetProcId(process_handle);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue