Index: chrome/browser/geolocation/geolocation_permission_context_unittest.cc |
diff --git a/chrome/browser/geolocation/geolocation_permission_context_unittest.cc b/chrome/browser/geolocation/geolocation_permission_context_unittest.cc |
index d7b61740f6aa1fce43b159b7f84ff135b7530f5d..e46bf84b40d87f4cfe28bedb8cdac58b1377e807 100644 |
--- a/chrome/browser/geolocation/geolocation_permission_context_unittest.cc |
+++ b/chrome/browser/geolocation/geolocation_permission_context_unittest.cc |
@@ -209,8 +209,8 @@ void GeolocationPermissionContextTests::AddNewTab(const GURL& url) { |
content::WebContents::CreateParams(profile())); |
new_tab->GetController().LoadURL( |
url, content::Referrer(), ui::PAGE_TRANSITION_TYPED, std::string()); |
- content::RenderViewHostTester::For(new_tab->GetRenderViewHost())-> |
- SendNavigate(extra_tabs_.size() + 1, url); |
+ content::RenderFrameHostTester::For(new_tab->GetMainFrame()) |
+ ->SendNavigate(extra_tabs_.size() + 1, url); |
// Set up required helpers, and make this be as "tabby" as the code requires. |
#if defined(ENABLE_EXTENSIONS) |