Index: chrome/browser/ui/webui/ntp/suggestions_page_handler.cc |
diff --git a/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc b/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc |
index 8173eec0bbd23b47c7442fa43653a8dcfc35856c..5f06291262f6a3bc14c3334c8348f3fd08f37232 100644 |
--- a/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc |
+++ b/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc |
@@ -49,7 +49,7 @@ SuggestionsHandler::~SuggestionsHandler() { |
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(); |
nasko
2013/11/08 23:52:03
Seems like another LastCommitted usage to me.
jww
2013/11/11 19:18:51
Done.
|
if (entry && (entry->GetURL() != ntp_url)) { |
action_id = |
content::PageTransitionStripQualifier(entry->GetTransitionType()); |