| Index: chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| index a37de8a5213311b147b0baffddc3d5117ff634b2..22eae1bf6fd583665167dec91260f750a1073044 100644
|
| --- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| +++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| @@ -548,7 +548,8 @@ void LocationBarView::Layout() {
|
| }
|
| // Because IMEs may eat the tab key, we don't show "press tab to search" while
|
| // IME composition is in progress.
|
| - if (!keyword.empty() && omnibox_view_->model()->is_keyword_hint() &&
|
| + if (HasFocus() && !keyword.empty() &&
|
| + omnibox_view_->model()->is_keyword_hint() &&
|
| !omnibox_view_->IsImeComposing()) {
|
| trailing_decorations.AddDecoration(vertical_padding, location_height, true,
|
| 0, item_padding, item_padding,
|
|
|