| Index: chrome/browser/ui/cocoa/one_click_signin_dialog_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/one_click_signin_dialog_controller.mm b/chrome/browser/ui/cocoa/one_click_signin_dialog_controller.mm
|
| index a8f9a846e54286246e75882298b99b63ff6058e3..f0156f2b4e7a1223aa8d4470568a967557828ed5 100644
|
| --- a/chrome/browser/ui/cocoa/one_click_signin_dialog_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/one_click_signin_dialog_controller.mm
|
| @@ -30,15 +30,15 @@
|
|
|
| base::scoped_nsobject<CustomConstrainedWindowSheet> sheet(
|
| [[CustomConstrainedWindowSheet alloc] initWithCustomWindow:window]);
|
| - constrained_window_ =
|
| - CreateAndShowWebModalDialogMac(this, web_contents, sheet);
|
| + constrained_window_.reset(new ConstrainedWindowMac(
|
| + this, web_contents, sheet));
|
| }
|
|
|
| OneClickSigninDialogController::~OneClickSigninDialogController() {
|
| }
|
|
|
| void OneClickSigninDialogController::OnConstrainedWindowClosed(
|
| - ConstrainedWindowMac* window) {
|
| + ConstrainedWindowMac* window) {
|
| [view_controller_ viewWillClose];
|
| base::MessageLoop::current()->DeleteSoon(FROM_HERE, this);
|
| }
|
|
|