Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3729)

Unified Diff: chrome/browser/ui/cocoa/passwords/password_prompt_view_bridge.mm

Issue 1809043002: [Mac] CREDENTIAL: Fix chooser dialog after r380352 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/passwords/password_prompt_view_bridge.mm
diff --git a/chrome/browser/ui/cocoa/passwords/password_prompt_view_bridge.mm b/chrome/browser/ui/cocoa/passwords/password_prompt_view_bridge.mm
index ff55e44ec33430e82d37ac512d2a1634ca268485..be9929d6ed6a8e4068b05bb45470b5bce9415351 100644
--- a/chrome/browser/ui/cocoa/passwords/password_prompt_view_bridge.mm
+++ b/chrome/browser/ui/cocoa/passwords/password_prompt_view_bridge.mm
@@ -69,8 +69,8 @@ void PasswordPromptViewBridge::ShowWindow() {
[window setContentView:[view_controller_ view]];
base::scoped_nsobject<CustomConstrainedWindowSheet> sheet(
[[CustomConstrainedWindowSheet alloc] initWithCustomWindow:window]);
- constrained_window_.reset(
- new ConstrainedWindowMac(this, web_contents_, sheet));
+ constrained_window_ =
+ CreateAndShowWebModalDialogMac(this, web_contents_, sheet);
}
AccountChooserPrompt* CreateAccountChooserPromptView(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698