Fix a crash in the leak detection dialog on dismissing it.
CredentialLeakDialogView::Accept nulls the controller and creates a new tab. During tab creation the framework may call some methods on the view to get its title or buttons. Previosuly that led to a crash. It doesn't matter what to return in those methods because the dialog is being destroyed anyway. Bug: 1039452,1036422 Change-Id: I985b7e79ac78431e216d3f27de001683846a29b3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1991563Reviewed-by:Friedrich [CET] <fhorschig@chromium.org> Commit-Queue: Vasilii Sukhanov <vasilii@chromium.org> Cr-Commit-Position: refs/heads/master@{#729395}
Showing
Please register or sign in to comment