Return base::ProcessId

This commit is contained in:
Kevin Sawicki 2017-05-15 13:29:34 -07:00
parent d79ac8d9c1
commit 350528707b
2 changed files with 2 additions and 2 deletions

View file

@ -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);
}