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

Issue 2614753002: 📰 Check we are on the NTP after dismissal animation. (Closed)

Created:
3 years, 11 months ago by dgn
Modified:
3 years, 11 months ago
Reviewers:
Bernhard Bauer
CC:
chromium-reviews, noyau+watch_chromium.org, ntp-dev+reviews_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -13 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/ntp/ContextMenuManager.java View 3 chunks +2 lines, -13 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/NewTabPageRecyclerView.java View 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (9 generated)
dgn
PTAL. I don't think merging to 56 is necessary, the repro is quite hard on ...
3 years, 11 months ago (2017-01-04 18:13:06 UTC) #5
Bernhard Bauer
lgtm
3 years, 11 months ago (2017-01-05 17:36:42 UTC) #8
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/2614753002/1
3 years, 11 months ago (2017-01-06 10:34:26 UTC) #10
commit-bot: I haz the power
3 years, 11 months ago (2017-01-06 11:08:22 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/dabb937bae8550231a7ef80705b3...

Powered by Google App Engine
This is Rietveld 408576698