| 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
|
|
|