| Index: chrome/browser/ui/cocoa/autofill/password_generation_popup_view_cocoa.mm
|
| diff --git a/chrome/browser/ui/cocoa/autofill/password_generation_popup_view_cocoa.mm b/chrome/browser/ui/cocoa/autofill/password_generation_popup_view_cocoa.mm
|
| index 5eec7443d37e46d8c4b567e5f25b09493fa982c9..a3db1390b3c7800cd934eae14d2983dd590d3cb2 100644
|
| --- a/chrome/browser/ui/cocoa/autofill/password_generation_popup_view_cocoa.mm
|
| +++ b/chrome/browser/ui/cocoa/autofill/password_generation_popup_view_cocoa.mm
|
| @@ -206,8 +206,7 @@ NSColor* HelpLinkColor() {
|
| const CGFloat keyY =
|
| std::ceil((controller_->kPopupPasswordSectionHeight / 2.0) -
|
| (imageSize.height / 2.0));
|
| - [keyIcon_ setFrameOrigin:NSMakePoint(keyX, keyY)];
|
| - [keyIcon_ sizeToFit];
|
| + [keyIcon_ setFrame:{ NSMakePoint(keyX, keyY), imageSize }];
|
|
|
| // The title and password fall to the right of the key icon and are centered
|
| // vertically as a group with some padding in between.
|
|
|