| Index: chrome/browser/ui/webui/ntp/most_visited_handler.cc
|
| diff --git a/chrome/browser/ui/webui/ntp/most_visited_handler.cc b/chrome/browser/ui/webui/ntp/most_visited_handler.cc
|
| index 5416aa3e9bfa5dd1e4208b4cc75a1f47d29e7b7e..8007db40c1fd91a328efce274585a413539395d0 100644
|
| --- a/chrome/browser/ui/webui/ntp/most_visited_handler.cc
|
| +++ b/chrome/browser/ui/webui/ntp/most_visited_handler.cc
|
| @@ -64,7 +64,7 @@ MostVisitedHandler::~MostVisitedHandler() {
|
| const GURL ntp_url = GURL(chrome::kChromeUINewTabURL);
|
| int action_id = NTP_FOLLOW_ACTION_OTHER;
|
| content::NavigationEntry* entry =
|
| - web_ui()->GetWebContents()->GetController().GetActiveEntry();
|
| + web_ui()->GetWebContents()->GetController().GetVisibleEntry();
|
| if (entry && (entry->GetURL() != ntp_url)) {
|
| action_id =
|
| content::PageTransitionStripQualifier(entry->GetTransitionType());
|
|
|