| Index: ui/views/animation/ink_drop_host_view.cc
|
| diff --git a/ui/views/animation/ink_drop_host_view.cc b/ui/views/animation/ink_drop_host_view.cc
|
| index 4d56b362811719b2946030e148d45c7edd21af21..85e62b88d93e8c24f9b4d3efb13a25dc2a5336bd 100644
|
| --- a/ui/views/animation/ink_drop_host_view.cc
|
| +++ b/ui/views/animation/ink_drop_host_view.cc
|
| @@ -127,7 +127,9 @@ InkDropHostView::~InkDropHostView() {
|
|
|
| void InkDropHostView::AddInkDropLayer(ui::Layer* ink_drop_layer) {
|
| old_paint_to_layer_ = layer() != nullptr;
|
| - SetPaintToLayer();
|
| + if (!old_paint_to_layer_)
|
| + SetPaintToLayer();
|
| +
|
| layer()->SetFillsBoundsOpaquely(false);
|
| ink_drop_mask_ = CreateInkDropMask();
|
| if (ink_drop_mask_)
|
|
|