Return base::ProcessId
This commit is contained in:
parent
d79ac8d9c1
commit
350528707b
2 changed files with 2 additions and 2 deletions
|
@ -1008,7 +1008,7 @@ int WebContents::GetProcessID() const {
|
|||
return web_contents()->GetRenderProcessHost()->GetID();
|
||||
}
|
||||
|
||||
int WebContents::GetOSProcessID() const {
|
||||
base::ProcessId WebContents::GetOSProcessID() const {
|
||||
auto process_handle = web_contents()->GetRenderProcessHost()->GetHandle();
|
||||
return base::GetProcId(process_handle);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue