| 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 614912143d273fc68672fa3752c4b488d8c4dad5..8e2d46ad78bd4d05dea0039393dbfa9754925255 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();
|
|
|