Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix NULL pointer dereferncing in AccountChooserDialogView.
The fix is for 3 different crashes. - AccountChooserDialogView::ControllerGone can trigger some accessibility events. The framework needs the title of the dialog. As a result the controller is dereferenced. - AccountChooserDialogView::ButtonPressed and AccountChooserDialogView::StyledLabelLinkClicked. On Mac those events may be triggered when the dialog already disappeared. Therefore, a NULL-check is required before pinging the controller. TBR=vasilii@chromium.org (cherry picked from commit 1fde9e5) Bug: 792731 Change-Id: Ia177aaa8ace746164ff363ecac94761c3f8f3dc6 Reviewed-on: https://chromium-review.googlesource.com/951002 Commit-Queue: Vasilii Sukhanov <vasilii@chromium.org> Reviewed-by: Vaclav Brozek <vabr@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#541100} Reviewed-on: https://chromium-review.googlesource.com/955562 Reviewed-by: Vasilii Sukhanov <vasilii@chromium.org> Cr-Commit-Position: refs/branch-heads/3359@{#93} Cr-Branched-From: 66afc5e-refs/heads/master@{#540276}
- Loading branch information