tab_hover_card: set anchor_view_ to null when stopping animation
This isn't necessarily a problem right now, but without this it's entirely possible that WidgetSlideAnimationDelegate is holding a reference to a deleted view, which makes me nervous. I came across this when looking at a crash that was the result of a UAF that I suspect was in this code. I believe you've since fixed it. BUG=940322 TEST=none Change-Id: Icfacdb7533ab9d1e8b2d99cbb29b459e2a21445a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1627654Reviewed-by:Caroline Rising <corising@chromium.org> Commit-Queue: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#662754}
Showing
Please register or sign in to comment