Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Issue 2487723003: [ash-md] Fixed crash when DEACTIVATING a focused ink drop button. (Closed)

Created:
4 years, 1 month ago by bruthig
Modified:
4 years, 1 month ago
Reviewers:
tdanderson
CC:
chromium-reviews, tfarina, bruthig+ink_drop_chromium.org, dcheng
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

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
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -2 lines) Patch
M ui/views/animation/ink_drop_impl.cc View 1 chunk +7 lines, -2 lines 0 comments Download
M ui/views/animation/ink_drop_impl_unittest.cc View 1 chunk +11 lines, -0 lines 1 comment Download

Messages

Total messages: 15 (9 generated)
bruthig
tdanderson@, can you PTAL?
4 years, 1 month ago (2016-11-08 18:55:18 UTC) #7
tdanderson
On 2016/11/08 18:55:18, bruthig wrote: > tdanderson@, can you PTAL? LGTM
4 years, 1 month ago (2016-11-08 18:59:07 UTC) #8
tdanderson
https://codereview.chromium.org/2487723003/diff/1/ui/views/animation/ink_drop_impl_unittest.cc File ui/views/animation/ink_drop_impl_unittest.cc (right): https://codereview.chromium.org/2487723003/diff/1/ui/views/animation/ink_drop_impl_unittest.cc#newcode482 ui/views/animation/ink_drop_impl_unittest.cc:482: // of the InkDropRipple. See https://crbug.com/663335. Thanks for adding ...
4 years, 1 month ago (2016-11-08 18:59:14 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2487723003/1
4 years, 1 month ago (2016-11-08 19:00:56 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-08 19:07:59 UTC) #13
commit-bot: I haz the power
4 years, 1 month ago (2016-11-08 19:39:36 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/71e742597731adbca120dd6961dc8c5fe66bc1f0
Cr-Commit-Position: refs/heads/master@{#430677}

Powered by Google App Engine
This is Rietveld 408576698