| Index: ui/views/animation/ink_drop_impl.cc
|
| diff --git a/ui/views/animation/ink_drop_impl.cc b/ui/views/animation/ink_drop_impl.cc
|
| index dd44207c767f6df2642ede94b45dbecfcaf90839..b61932fe6cd6e020bf778cbd4cf1e198403c9a82 100644
|
| --- a/ui/views/animation/ink_drop_impl.cc
|
| +++ b/ui/views/animation/ink_drop_impl.cc
|
| @@ -738,6 +738,9 @@ void InkDropImpl::AnimationEnded(InkDropState ink_drop_state,
|
| highlight_state_->AnimationEnded(ink_drop_state, reason);
|
| if (reason != InkDropAnimationEndedReason::SUCCESS)
|
| return;
|
| + // |ink_drop_ripple_| might be null during destruction.
|
| + if (!ink_drop_ripple_)
|
| + return;
|
| if (ShouldAnimateToHidden(ink_drop_state)) {
|
| ink_drop_ripple_->AnimateToState(views::InkDropState::HIDDEN);
|
| } else if (ink_drop_state == views::InkDropState::HIDDEN) {
|
|
|