diff options
Diffstat (limited to 'chrome/browser/extensions/extension_processes_api.cc')
-rw-r--r-- | chrome/browser/extensions/extension_processes_api.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_processes_api.cc b/chrome/browser/extensions/extension_processes_api.cc index 3330cdd..8495d9d 100644 --- a/chrome/browser/extensions/extension_processes_api.cc +++ b/chrome/browser/extensions/extension_processes_api.cc @@ -28,7 +28,7 @@ bool GetProcessForTabFunction::RunImpl() { &contents, &tab_index)) return false; - int process_id = contents->process()->id(); + int process_id = contents->GetRenderProcessHost()->id(); result_.reset(CreateProcessValue(process_id)); return true; } |