| Index: ui/views/animation/ink_drop.cc
|
| diff --git a/ui/views/animation/ink_drop.cc b/ui/views/animation/ink_drop.cc
|
| index a82f4c51b5b78c653a9e49e63e934d9b5f590c22..6a1df9896c7f074d76645933d291b1ae052497c6 100644
|
| --- a/ui/views/animation/ink_drop.cc
|
| +++ b/ui/views/animation/ink_drop.cc
|
| @@ -9,7 +9,7 @@ namespace views {
|
| InkDropContainerView::InkDropContainerView() {}
|
|
|
| void InkDropContainerView::AddInkDropLayer(ui::Layer* ink_drop_layer) {
|
| - SetPaintToLayer(true);
|
| + SetPaintToLayer();
|
| SetVisible(true);
|
| layer()->SetFillsBoundsOpaquely(false);
|
| layer()->Add(ink_drop_layer);
|
| @@ -18,7 +18,7 @@ void InkDropContainerView::AddInkDropLayer(ui::Layer* ink_drop_layer) {
|
| void InkDropContainerView::RemoveInkDropLayer(ui::Layer* ink_drop_layer) {
|
| layer()->Remove(ink_drop_layer);
|
| SetVisible(false);
|
| - SetPaintToLayer(false);
|
| + DestroyLayer();
|
| }
|
|
|
| bool InkDropContainerView::CanProcessEventsWithinSubtree() const {
|
|
|