| Index: ui/views/controls/focus_ring.cc
|
| diff --git a/ui/views/controls/focus_ring.cc b/ui/views/controls/focus_ring.cc
|
| index c8985bf255dd65277b7950e73c0d4289c9998c1e..e3b05dadd11a2be01eb63b65f1989e17f464758e 100644
|
| --- a/ui/views/controls/focus_ring.cc
|
| +++ b/ui/views/controls/focus_ring.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "ui/views/controls/focus_ring.h"
|
|
|
| +#include "ui/compositor/layer_type.h"
|
| #include "ui/gfx/canvas.h"
|
| #include "ui/native_theme/native_theme.h"
|
| #include "ui/views/controls/focusable_border.h"
|
| @@ -87,7 +88,7 @@ void FocusRing::OnPaint(gfx::Canvas* canvas) {
|
| FocusRing::FocusRing()
|
| : override_color_id_(ui::NativeTheme::kColorId_NumColors) {
|
| // A layer is necessary to paint beyond the parent's bounds.
|
| - SetPaintToLayer(true);
|
| + SetPaintToLayer(ui::LAYER_TEXTURED);
|
| layer()->SetFillsBoundsOpaquely(false);
|
| }
|
|
|
|
|