summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/autofill
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/cocoa/autofill')
-rw-r--r--chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm2
-rw-r--r--chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.mm2
2 files changed, 2 insertions, 2 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];
}
diff --git a/chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.mm b/chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.mm
index 11c985a..c8a666b 100644
--- a/chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.mm
+++ b/chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.mm
@@ -88,7 +88,7 @@ void CardUnmaskPromptViewBridge::Show() {
base::scoped_nsobject<CustomConstrainedWindowSheet> sheet(
[[CustomConstrainedWindowSheet alloc] initWithCustomWindow:window]);
constrained_window_.reset(
- CreateAndShowWebModalDialogMac(this, web_contents_, sheet));
+ new ConstrainedWindowMac(this, web_contents_, sheet));
}
void CardUnmaskPromptViewBridge::ControllerGone() {