Index: chrome/browser/ui/cocoa/profiles/user_manager_mac.mm |
diff --git a/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm b/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm |
index 8cf1c97cd4780e6157092e0a7c1a5c2d368ce5ff..e5bf1c25d50a7d97f1b32c42156725e7f5967ae0 100644 |
--- a/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm |
+++ b/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm |
@@ -203,8 +203,8 @@ |
[[CustomConstrainedWindowSheet alloc] |
initWithCustomWindow:[self window]]); |
constrained_window_.reset( |
- CreateAndShowWebModalDialogMac( |
- webContentsDelegate_.get(), webContents_, sheet)); |
+ new ConstrainedWindowMac( |
+ webContentsDelegate_.get(), webContents_, sheet)); |
// The close button needs to call CloseWebContentsModalDialog() on the |
// constrained window isntead of just [window close] so grab a reference to |