| Index: chrome/browser/ui/search/search_tab_helper.cc
|
| diff --git a/chrome/browser/ui/search/search_tab_helper.cc b/chrome/browser/ui/search/search_tab_helper.cc
|
| index 059090fcfcdab15bc412417d91b3d6b2076ada30..865fa3bdd7ba534243ebbe36c9f2de67428cfd63 100644
|
| --- a/chrome/browser/ui/search/search_tab_helper.cc
|
| +++ b/chrome/browser/ui/search/search_tab_helper.cc
|
| @@ -288,7 +288,7 @@ void SearchTabHelper::DidNavigateMainFrame(
|
| // also a race condition between this code and the page's SetTitle call which
|
| // this rule avoids.
|
| content::NavigationEntry* entry =
|
| - web_contents_->GetController().GetActiveEntry();
|
| + web_contents_->GetController().GetVisibleEntry();
|
| if (entry && entry->GetTitle().empty() &&
|
| (entry->GetVirtualURL() == GURL(chrome::kChromeUINewTabURL) ||
|
| chrome::NavEntryIsInstantNTP(web_contents_, entry))) {
|
|
|