| Index: chrome/browser/ui/webui/ntp/android/navigation_handler.cc
|
| diff --git a/chrome/browser/ui/webui/ntp/android/navigation_handler.cc b/chrome/browser/ui/webui/ntp/android/navigation_handler.cc
|
| index 45dd01b4c74e4e95fe992ff0837e3113dd54810e..da022c53d416bcfd80aa2256e3f7ba1e6b3e8081 100644
|
| --- a/chrome/browser/ui/webui/ntp/android/navigation_handler.cc
|
| +++ b/chrome/browser/ui/webui/ntp/android/navigation_handler.cc
|
| @@ -20,7 +20,7 @@ NavigationHandler::NavigationHandler() {}
|
| NavigationHandler::~NavigationHandler() {
|
| // Record an omnibox-based navigation, if there is one.
|
| content::NavigationEntry* entry =
|
| - web_ui()->GetWebContents()->GetController().GetActiveEntry();
|
| + web_ui()->GetWebContents()->GetController().GetVisibleEntry();
|
| if (!entry)
|
| return;
|
|
|
|
|