Index: chrome/browser/automation/testing_automation_provider.cc |
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc |
index afc251a4d660590022094a732d548c3ad5f630a6..7385e3159bab2f505ca314adece1269863285eb9 100644 |
--- a/chrome/browser/automation/testing_automation_provider.cc |
+++ b/chrome/browser/automation/testing_automation_provider.cc |
@@ -2968,7 +2968,7 @@ void TestingAutomationProvider::GetBrowserInfo( |
ex_host->render_process_host()->GetID()); |
view->SetInteger( |
"render_view_id", |
- ex_host->render_view_host()->routing_id()); |
+ ex_host->render_view_host()->GetRoutingID()); |
item->Set("view", view); |
std::string type; |
switch (ex_host->extension_host_type()) { |
@@ -6130,7 +6130,7 @@ void TestingAutomationProvider::GetV8HeapStats( |
// This observer will delete itself. |
new V8HeapStatsObserver( |
this, reply_message, |
- base::GetProcId(render_view->process()->GetHandle())); |
+ base::GetProcId(render_view->GetProcess()->GetHandle())); |
render_view->Send(new ChromeViewMsg_GetV8HeapStats); |
} |
@@ -6160,12 +6160,12 @@ void TestingAutomationProvider::GetFPS( |
} |
RenderViewHost* render_view = web_contents->GetRenderViewHost(); |
- int routing_id = render_view->routing_id(); |
+ int routing_id = render_view->GetRoutingID(); |
// This observer will delete itself. |
new FPSObserver( |
this, reply_message, |
- base::GetProcId(render_view->process()->GetHandle()), |
+ base::GetProcId(render_view->GetProcess()->GetHandle()), |
routing_id); |
render_view->Send(new ChromeViewMsg_GetFPS(routing_id)); |
} |
@@ -6924,7 +6924,7 @@ void TestingAutomationProvider::LoadBlockedPlugins(int tab_handle, |
if (!contents) |
return; |
RenderViewHost* host = contents->GetRenderViewHost(); |
- host->Send(new ChromeViewMsg_LoadBlockedPlugins(host->routing_id())); |
+ host->Send(new ChromeViewMsg_LoadBlockedPlugins(host->GetRoutingID())); |
*success = true; |
} |
} |