| Index: chrome/browser/ui/views/omnibox/omnibox_view_views.cc
|
| diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_views.cc b/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
|
| index dd9cdba9a22e43272801b813c2f35418a4ff7147..2884f4347de0ee352540413c93e407cd7dc85df0 100644
|
| --- a/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
|
| +++ b/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
|
| @@ -46,6 +46,7 @@
|
| #include "ui/base/ime/text_input_client.h"
|
| #include "ui/base/ime/text_input_type.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| +#include "ui/base/material_design/material_design_controller.h"
|
| #include "ui/base/models/simple_menu_model.h"
|
| #include "ui/compositor/layer.h"
|
| #include "ui/events/event.h"
|
| @@ -891,6 +892,10 @@ void OmniboxViewViews::OnBlur() {
|
|
|
| // Make sure the beginning of the text is visible.
|
| SelectRange(gfx::Range(0));
|
| +
|
| + // The location bar needs to repaint without a focus ring.
|
| + if (ui::MaterialDesignController::IsModeMaterial())
|
| + location_bar_view_->SchedulePaint();
|
| }
|
|
|
| bool OmniboxViewViews::IsCommandIdEnabled(int command_id) const {
|
|
|