Index: chrome/browser/automation/automation_util.cc |
diff --git a/chrome/browser/automation/automation_util.cc b/chrome/browser/automation/automation_util.cc |
index f9138188544e7da3a37160a2b7fad221c98829c3..4cbfd1d24f65fc7095f335d24f68b2af4223d7ae 100644 |
--- a/chrome/browser/automation/automation_util.cc |
+++ b/chrome/browser/automation/automation_util.cc |
@@ -430,7 +430,7 @@ AutomationId GetIdForExtensionView(const ExtensionHost* ext_host) { |
// Since these extension views do not permit navigation, using the |
// renderer process and view ID should suffice. |
std::string id = base::StringPrintf("%d|%d", |
- ext_host->render_view_host()->routing_id(), |
+ ext_host->render_view_host()->GetRoutingID(), |
ext_host->render_process_host()->GetID()); |
return AutomationId(type, id); |
} |