| Index: ui/views/controls/button/md_text_button.cc
|
| diff --git a/ui/views/controls/button/md_text_button.cc b/ui/views/controls/button/md_text_button.cc
|
| index af3141036a1fd70d81f7511b162f4504defd216c..8eba04d286853e6da67e5181c7d8fcec284a9516 100644
|
| --- a/ui/views/controls/button/md_text_button.cc
|
| +++ b/ui/views/controls/button/md_text_button.cc
|
| @@ -7,6 +7,7 @@
|
| #include "base/i18n/case_conversion.h"
|
| #include "base/memory/ptr_util.h"
|
| #include "ui/base/material_design/material_design_controller.h"
|
| +#include "ui/compositor/layer_type.h"
|
| #include "ui/gfx/canvas.h"
|
| #include "ui/gfx/color_palette.h"
|
| #include "ui/gfx/color_utils.h"
|
| @@ -205,7 +206,7 @@ MdTextButton::MdTextButton(ButtonListener* listener)
|
|
|
| // Paint to a layer so that the canvas is snapped to pixel boundaries (useful
|
| // for fractional DSF).
|
| - SetPaintToLayer(true);
|
| + SetPaintToLayer(ui::LAYER_TEXTURED);
|
| layer()->SetFillsBoundsOpaquely(false);
|
| }
|
|
|
|
|