Index: chrome/browser/ui/views/external_tab_container_win.cc |
diff --git a/chrome/browser/ui/views/external_tab_container_win.cc b/chrome/browser/ui/views/external_tab_container_win.cc |
index 9fa14db90b3165e12324722b8e8b237478b25d7a..bdd05c6866249798900039bffdbce2b5aa7fc845 100644 |
--- a/chrome/browser/ui/views/external_tab_container_win.cc |
+++ b/chrome/browser/ui/views/external_tab_container_win.cc |
@@ -1214,7 +1214,7 @@ bool ExternalTabContainerWin::InitNavigationInfo( |
content::NavigationType nav_type, |
int relative_offset) { |
DCHECK(nav_info); |
- NavigationEntry* entry = web_contents_->GetController().GetActiveEntry(); |
+ NavigationEntry* entry = web_contents_->GetController().GetVisibleEntry(); |
// If this is very early in the game then there may not be an entry. |
if (!entry) |
return false; |