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 677508735cb18e6ca3ddf63b519467aa20f0a3f3..37e840620f4f0be3d2a75a35fe0d92156f3f3009 100644 |
--- a/chrome/browser/geolocation/geolocation_permission_context_unittest.cc |
+++ b/chrome/browser/geolocation/geolocation_permission_context_unittest.cc |
@@ -32,7 +32,6 @@ |
#include "components/infobars/core/infobar.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/navigation_details.h" |
-#include "content/public/browser/navigation_entry.h" |
#include "content/public/browser/notification_observer.h" |
#include "content/public/browser/notification_registrar.h" |
#include "content/public/browser/notification_service.h" |
@@ -225,9 +224,8 @@ |
content::WebContents* new_tab = CreateTestWebContents(); |
new_tab->GetController().LoadURL( |
url, content::Referrer(), ui::PAGE_TRANSITION_TYPED, std::string()); |
- content::NavigationEntry* entry = new_tab->GetController().GetPendingEntry(); |
content::RenderFrameHostTester::For(new_tab->GetMainFrame()) |
- ->SendNavigate(extra_tabs_.size() + 1, entry->GetUniqueID(), true, url); |
+ ->SendNavigate(extra_tabs_.size() + 1, url); |
// Set up required helpers, and make this be as "tabby" as the code requires. |
#if defined(ENABLE_EXTENSIONS) |