DescriptionFix a crash in dtor of CallbackAnimationObserver
It might be possible that animator is destroyed when desstruct CallbackAnimationObserver.
Use a scoped_refptr to make sure it wont happen.
BUG=478016
Committed: https://crrev.com/d8322ad28b115e844805d3046c02180f702e253e
Cr-Commit-Position: refs/heads/master@{#327113}
Patch Set 1 #Patch Set 2 : Fix LayerAnimator::RemoveObserver crash #Patch Set 3 : #
Total comments: 2
Patch Set 4 : review #
Total comments: 2
Patch Set 5 : use ref #Messages
Total messages: 13 (3 generated)
|