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

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

Issue 2028823003: Mac: Make ScopedTypeRef require explicit constructors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove dependency Created 4 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
« no previous file with comments | « chrome/browser/ui/cocoa/new_tab_button.mm ('k') | chrome/browser/ui/cocoa/tabs/tab_view.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/passwords/account_chooser_view_controller.mm
diff --git a/chrome/browser/ui/cocoa/passwords/account_chooser_view_controller.mm b/chrome/browser/ui/cocoa/passwords/account_chooser_view_controller.mm
index 5e0c932cc3e58a022930c991f0f900155bc90340..f1be28c9186b704a336e1754bc61b046987c976e 100644
--- a/chrome/browser/ui/cocoa/passwords/account_chooser_view_controller.mm
+++ b/chrome/browser/ui/cocoa/passwords/account_chooser_view_controller.mm
@@ -128,8 +128,8 @@ - (void)loadView {
kDesiredBubbleWidth,
std::min<CGFloat>([credentialButtons_ count], kMaxHeightAccounts) *
kCredentialHeight);
- base::scoped_nsobject<NSScrollView> scrollView = [[NSScrollView alloc]
- initWithFrame:NSMakeRect(0, 0, buttonsSize.width, buttonsSize.height)];
+ base::scoped_nsobject<NSScrollView> scrollView([[NSScrollView alloc]
+ initWithFrame:NSMakeRect(0, 0, buttonsSize.width, buttonsSize.height)]);
[scrollView
setHasVerticalScroller:[credentialButtons_ count] > kMaxHeightAccounts
? YES
« no previous file with comments | « chrome/browser/ui/cocoa/new_tab_button.mm ('k') | chrome/browser/ui/cocoa/tabs/tab_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698