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

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: Rebase Created 4 years, 7 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/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

Powered by Google App Engine
This is Rietveld 408576698