| 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 304bb1a7c0f6d977483f58ea88dc1efb94b79b8c..7f993830a3e62770abd225708169f726c58f2dad 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
|
| @@ -95,10 +95,6 @@ NSColor* HelpTextColor() {
|
| if (controller_->password_selected()) {
|
| // Draw a highlight under the suggested password.
|
| NSRect highlightBounds = [self passwordBounds];
|
| - highlightBounds.origin.y +=
|
| - PasswordGenerationPopupView::kPasswordVerticalInset;
|
| - highlightBounds.size.height -=
|
| - 2 * PasswordGenerationPopupView::kPasswordVerticalInset;
|
| [[self highlightColor] set];
|
| [NSBezierPath fillRect:highlightBounds];
|
| }
|
| @@ -170,15 +166,15 @@ NSColor* HelpTextColor() {
|
| }
|
|
|
| - (NSRect)passwordBounds {
|
| - return NSRectFromCGRect(controller_->password_bounds().ToCGRect());
|
| + return NSZeroRect;
|
| }
|
|
|
| - (NSRect)helpBounds {
|
| - return NSRectFromCGRect(controller_->help_bounds().ToCGRect());
|
| + return NSZeroRect;
|
| }
|
|
|
| - (NSRect)dividerBounds {
|
| - return NSRectFromCGRect(controller_->divider_bounds().ToCGRect());
|
| + return NSZeroRect;
|
| }
|
|
|
| @end
|
|
|