summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm')
-rw-r--r--chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm b/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm
index 99a645f..4a80bbd 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm
+++ b/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm
@@ -39,7 +39,7 @@ void AutofillDialogCocoa::Show() {
[[CustomConstrainedWindowSheet alloc]
initWithCustomWindow:[sheet_delegate_ window]]);
constrained_window_.reset(
- CreateAndShowWebModalDialogMac(this, delegate_->GetWebContents(), sheet));
+ new ConstrainedWindowMac(this, delegate_->GetWebContents(), sheet));
[sheet_delegate_ show];
}