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

Unified Diff: chrome/browser/ui/cocoa/browser_window_cocoa.mm

Issue 17593006: mac: Update clients of scoped_nsobject.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: iwyu, scoped_nsprotocol Created 7 years, 6 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
Index: chrome/browser/ui/cocoa/browser_window_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/browser_window_cocoa.mm b/chrome/browser/ui/cocoa/browser_window_cocoa.mm
index 39813e2599a0ba0dec1d978c7028c027684c3612..53a69cfa363f22daa048a5a8011e992577c3d6b8 100644
--- a/chrome/browser/ui/cocoa/browser_window_cocoa.mm
+++ b/chrome/browser/ui/cocoa/browser_window_cocoa.mm
@@ -497,13 +497,12 @@ void BrowserWindowCocoa::ShowOneClickSigninBubble(
WebContents* web_contents =
browser_->tab_strip_model()->GetActiveWebContents();
if (type == ONE_CLICK_SIGNIN_BUBBLE_TYPE_BUBBLE) {
- scoped_nsobject<OneClickSigninBubbleController> bubble_controller(
- [[OneClickSigninBubbleController alloc]
- initWithBrowserWindowController:cocoa_controller()
- webContents:web_contents
- errorMessage:base::SysUTF16ToNSString(
- error_message)
- callback:start_sync_callback]);
+ base::scoped_nsobject<OneClickSigninBubbleController> bubble_controller([
+ [OneClickSigninBubbleController alloc]
+ initWithBrowserWindowController:cocoa_controller()
+ webContents:web_contents
+ errorMessage:base::SysUTF16ToNSString(error_message)
+ callback:start_sync_callback]);
[bubble_controller showWindow:nil];
} else {
// Deletes itself when the dialog closes.

Powered by Google App Engine
This is Rietveld 408576698