| Index: chrome/browser/ui/views/location_bar/page_info_helper.cc
|
| diff --git a/chrome/browser/ui/views/location_bar/page_info_helper.cc b/chrome/browser/ui/views/location_bar/page_info_helper.cc
|
| index 7f27d50ebcd2a6b4e9bbd5d93eeecc09101dc3c6..48391224a2d740aa855c4cce8d929b01fe856e2c 100644
|
| --- a/chrome/browser/ui/views/location_bar/page_info_helper.cc
|
| +++ b/chrome/browser/ui/views/location_bar/page_info_helper.cc
|
| @@ -34,7 +34,8 @@ void PageInfoHelper::ProcessEvent(const ui::LocatedEvent& event) {
|
| if (!tab)
|
| return;
|
| const NavigationController& controller = tab->GetController();
|
| - NavigationEntry* nav_entry = controller.GetActiveEntry();
|
| + // Important to use GetVisibleEntry to match what's showing in the omnibox.
|
| + NavigationEntry* nav_entry = controller.GetVisibleEntry();
|
| if (!nav_entry) {
|
| NOTREACHED();
|
| return;
|
|
|