| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index eaa47a6846c89f747e10a8e54e00a8398cc8b62c..997cc2b92ab244b8139e696190e64478bf39034b 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -1416,7 +1416,7 @@ void Browser::BeforeUnloadFired(WebContents* web_contents,
|
|
|
| bool Browser::ShouldFocusLocationBarByDefault(WebContents* source) {
|
| const content::NavigationEntry* entry =
|
| - source->GetController().GetVisibleEntry();
|
| + source->GetController().GetActiveEntry();
|
| if (entry) {
|
| GURL url = entry->GetURL();
|
| GURL virtual_url = entry->GetVirtualURL();
|
|
|