Description[NTP Client] Check we are on the NTP after dismissal animation.
When dismissing a suggestion through the context menu, it is possible
that by the time the animation ends, we navigated away from the NTP
and it got destroyed, resulting in an NPE. We now exit early when
that is the case.
This CL also reverts the ineffective tentative fix from
https://codereview.chromium.org/2553163002
BUG=668945
Review-Url: https://codereview.chromium.org/2614753002
Cr-Commit-Position: refs/heads/master@{#441917}
Committed: https://chromium.googlesource.com/chromium/src/+/dabb937bae8550231a7ef80705b3f09c4a782aef
Patch Set 1 #
Messages
Total messages: 13 (9 generated)
|