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 00b5a087e5ba17ecc889732cc8b3e7cf85ab8caa..6078a5065048b1de3db4848027500fa73366b7c3 100644 |
--- a/chrome/browser/ui/cocoa/one_click_signin_dialog_controller.mm |
+++ b/chrome/browser/ui/cocoa/one_click_signin_dialog_controller.mm |
@@ -22,13 +22,12 @@ OneClickSigninDialogController::OneClickSigninDialogController( |
closeCallback:close_callback |
isSyncDialog:YES |
errorMessage:nil]); |
- scoped_nsobject<NSWindow> window([[ConstrainedWindowCustomWindow alloc] |
+ base::scoped_nsobject<NSWindow> window([[ConstrainedWindowCustomWindow alloc] |
initWithContentRect:[[view_controller_ view] bounds]]); |
[[window contentView] addSubview:[view_controller_ view]]; |
- scoped_nsobject<CustomConstrainedWindowSheet> sheet( |
- [[CustomConstrainedWindowSheet alloc] |
- initWithCustomWindow:window]); |
+ base::scoped_nsobject<CustomConstrainedWindowSheet> sheet( |
+ [[CustomConstrainedWindowSheet alloc] initWithCustomWindow:window]); |
constrained_window_.reset(new ConstrainedWindowMac( |
this, web_contents, sheet)); |
} |