You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[soft navs] Fix failing CHECK in ProcessCustomWeakness
We expect that as long as we have one of two specific
Member<SoftNavigationContext> references non nullptr, then we shouldn't
ever have an empty list of potential soft navigations.
However, we were previously accidentally setting the most_recent_
context to a context that comes from another window, which meant we
could have a case where all interactions are GC-ed and yet one of these
values was not null.
Change to guard against this in the one place it could happen, but, also
change the CHECK to NotFatalUntil since these are really not important
to enforce, they are just extra cautious.
Bug: 421199934, 40871933
Change-Id: I6d120389a032ec6ae51d660299170d8f85aab642
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6604294
Commit-Queue: Michal Mocny <mmocny@chromium.org>
Reviewed-by: Scott Haseley <shaseley@chromium.org>
Reviewed-by: Johannes Henkel <johannes@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1467654}
0 commit comments