summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/extension_port_container.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/automation/extension_port_container.cc')
-rw-r--r--chrome/browser/automation/extension_port_container.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/automation/extension_port_container.cc b/chrome/browser/automation/extension_port_container.cc
index 034988a..43ace0f 100644
--- a/chrome/browser/automation/extension_port_container.cc
+++ b/chrome/browser/automation/extension_port_container.cc
@@ -203,7 +203,7 @@ bool ExtensionPortContainer::InterceptMessageFromExternalHost(
scoped_ptr<ExtensionPortContainer> port(
new ExtensionPortContainer(automation, tab_handle));
- int process_id = view_host->process()->pid();
+ int process_id = view_host->process()->id();
if (port->Connect(extension_id, process_id, routing_id, connection_id,
channel_name)) {
// We have a successful connection.