Index: chrome/browser/ui/search/instant_controller.cc |
diff --git a/chrome/browser/ui/search/instant_controller.cc b/chrome/browser/ui/search/instant_controller.cc |
index 526c3b39a89e9dad3e97f3cc6004f31321b92015..9520c601b422698c233eb1fed44c3f9b904c422f 100644 |
--- a/chrome/browser/ui/search/instant_controller.cc |
+++ b/chrome/browser/ui/search/instant_controller.cc |
@@ -61,11 +61,11 @@ void EnsureSearchTermsAreSet(content::WebContents* contents, |
controller->GetTransientEntry()) |
return; |
- const content::NavigationEntry* active_entry = controller->GetActiveEntry(); |
+ const content::NavigationEntry* entry = controller->GetVisibleEntry(); |
nasko
2013/11/08 23:52:03
Shouldn't this be LastCommitted?
jww
2013/11/11 19:18:51
Done.
|
content::NavigationEntry* transient = controller->CreateNavigationEntry( |
- active_entry->GetURL(), |
- active_entry->GetReferrer(), |
- active_entry->GetTransitionType(), |
+ entry->GetURL(), |
+ entry->GetReferrer(), |
+ entry->GetTransitionType(), |
false, |
std::string(), |
contents->GetBrowserContext()); |