Chromium Code Reviews
Description[ash-md] Fixed crash when DEACTIVATING a focused ink drop button.
Fixing regression caused by https://codereview.chromium.org/2447523002.
The issue is InkDropImpl::HideHighlightOnRippleHiddenState::AnimationStarted()
is trying to kick off an animation on an InkDropRipple instance that is already
being destroyed. This is due to a
LayerAnimationObserver::OnLayerAnimationStarted() event being raised within a
LayerAnimator::AbortAllAnimations() call. This change is a short term fix to
prevent crashes. We will need to investigate how/if the animation framework
should be supporting such a use case.
TEST=InkDropImplHideAutoHighlightTest.NoCrashDuringRippleTearDown
BUG=663335
Committed: https://crrev.com/71e742597731adbca120dd6961dc8c5fe66bc1f0
Cr-Commit-Position: refs/heads/master@{#430677}
Patch Set 1 #
Total comments: 1
Messages
Total messages: 15 (9 generated)
|
||||||||||||||||||||||||||||