| Index: chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm b/chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm
|
| index d3c8ca9714a2254ae2168bdbf4874c4089bd9109..878d22ff16ee4a8e6882cfd6cf4db7cfb68ddd24 100644
|
| --- a/chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm
|
| @@ -221,7 +221,7 @@ const CGFloat kIconSize = 26.0;
|
| }
|
|
|
| - (NSRect)textFrameForFrame:(NSRect)cellFrame {
|
| - // Baseclass insets the rect by baselineAdjust.
|
| + // Baseclass insets the rect by top and bottom offsets.
|
| NSRect textFrame = [super textFrameForFrame:cellFrame];
|
| textFrame = [self getTextFrame:textFrame];
|
| return [self adjustFrameForFrame:textFrame];
|
| @@ -269,7 +269,11 @@ const CGFloat kIconSize = 26.0;
|
| [view addTrackingArea:area];
|
| }
|
|
|
| -- (CGFloat)baselineAdjust {
|
| +- (CGFloat)topTextFrameOffset {
|
| + return 1.0;
|
| +}
|
| +
|
| +- (CGFloat)bottomTextFrameOffset {
|
| return 1.0;
|
| }
|
|
|
|
|