Stop the animation associated to the removed icon
The regression issue was introduced by https://crrev.com/c/1925783 by destructing the removed view at the end of ShelfView::ShelfItemRe- moved. However, on some edge cases (like switching between accounts), the removed item may be destructed before animation on item ends. This CL fixes the issue by stopping the animation associated to the removed icon before destruction. Bug: 1032002 Change-Id: I98aea59c9f4d0310c4c170edbb23c581816fdbe6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1975084Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: Andrew Xu <andrewxu@chromium.org> Cr-Commit-Position: refs/heads/master@{#726461}
Showing
Please register or sign in to comment