| Index: chrome/browser/ui/views/frame/browser_view.cc
|
| diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
|
| index ed77b66be456bb50d0ffbe8daab6d6b19f2a2f5d..808df1990ae8f7ee2b9835f0653f48b243c1f38b 100644
|
| --- a/chrome/browser/ui/views/frame/browser_view.cc
|
| +++ b/chrome/browser/ui/views/frame/browser_view.cc
|
| @@ -1050,7 +1050,10 @@ void BrowserView::SetFocusToLocationBar(bool select_all) {
|
| LocationBarView* location_bar = GetLocationBarView();
|
| if (location_bar->omnibox_view()->IsFocusable()) {
|
| // Location bar got focus.
|
| - location_bar->FocusLocation(select_all);
|
| + if (chrome::ShouldDisplayOriginChip())
|
| + location_bar->omnibox_view()->ShowURL();
|
| + else
|
| + location_bar->FocusLocation(select_all);
|
| } else {
|
| // If none of location bar got focus, then clear focus.
|
| views::FocusManager* focus_manager = GetFocusManager();
|
|
|