Skip to content
Commit 7cd13166 authored by Nicolás Peña's avatar Nicolás Peña Committed by Chromium LUCI CQ
Browse files

[FedCM] Fix crash when ShowAccountsDialog() completes the request

In cases like when we cannot show the Android bottomsheet, the request
is cancelled right away, so any method afterwards should assume that
Cleanup() maybe have been called. In this case, do not record that the
accounts have been shown, as nothing was actually shown.

Bug: 328945371
Change-Id: Iec962e2ea6e6246521f730129c452ffd11ef52a2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5363753


Reviewed-by: default avatarYi Gu <yigu@chromium.org>
Commit-Queue: Nicolás Peña <npm@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1271204}
parent 4df1da0e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment