Index: chrome/browser/ui/search/instant_loader.cc |
diff --git a/chrome/browser/ui/search/instant_loader.cc b/chrome/browser/ui/search/instant_loader.cc |
index 5ca923e841df8b394fc0432a53a4c0424f1cc1f7..302a5ac83b57cb2e538be1ce755bf8fff905c51f 100644 |
--- a/chrome/browser/ui/search/instant_loader.cc |
+++ b/chrome/browser/ui/search/instant_loader.cc |
@@ -65,7 +65,8 @@ void InstantLoader::Load() { |
// page, preventing a potential flicker of the URL, and also ensures that |
// (unless overridden by the page) the new tab title matches the browser UI |
// locale. |
- content::NavigationEntry* entry = contents_->GetController().GetActiveEntry(); |
+ content::NavigationEntry* entry = |
+ contents_->GetController().GetVisibleEntry(); |
if (entry) |
entry->SetTitle(l10n_util::GetStringUTF16(IDS_NEW_TAB_TITLE)); |