| Index: chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm
|
| diff --git a/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm b/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm
|
| index 8e591026c66755255b465da6a972b0cf6bf73012..d3b7fd82e7f01fc335156d6bbc33668b82a1613d 100644
|
| --- a/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm
|
| +++ b/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm
|
| @@ -66,7 +66,8 @@ void AutofillDialogCocoa::Hide() {
|
|
|
| // Closes the sheet and ends the modal loop. Triggers cleanup sequence.
|
| void AutofillDialogCocoa::PerformClose() {
|
| - constrained_window_->CloseWebContentsModalDialog();
|
| + if (constrained_window_)
|
| + constrained_window_->CloseWebContentsModalDialog();
|
| }
|
|
|
| void AutofillDialogCocoa::UpdateAccountChooser() {
|
|
|