| Index: chrome/browser/ui/cocoa/autofill/autofill_pop_up_button.mm
|
| diff --git a/chrome/browser/ui/cocoa/autofill/autofill_pop_up_button.mm b/chrome/browser/ui/cocoa/autofill/autofill_pop_up_button.mm
|
| index bdfcd80d754fef12497b464b617ac4ef6f908b17..6f2b17c97254e0f5903f8ffc6053ad1ea6e285f5 100644
|
| --- a/chrome/browser/ui/cocoa/autofill/autofill_pop_up_button.mm
|
| +++ b/chrome/browser/ui/cocoa/autofill/autofill_pop_up_button.mm
|
| @@ -88,12 +88,10 @@
|
| [super drawBezelWithFrame:frame inView:controlView];
|
| if (invalid_) {
|
| // Mimic the rounded rect of default popup bezel in size, outline in red.
|
| - NSBezierPath* path = [NSBezierPath
|
| - bezierPathWithRoundedRect:
|
| - NSOffsetRect(
|
| - NSInsetRect(NSIntegralRect(frame), 3.5, 3.5), -1.0, -1.0)
|
| - xRadius:4.0
|
| - yRadius:4.0];
|
| + NSRect outlineRect = NSOffsetRect(NSInsetRect(frame, 3.0, 3.5), -.5, -1.0);
|
| + NSBezierPath* path = [NSBezierPath bezierPathWithRoundedRect:outlineRect
|
| + xRadius:3.5
|
| + yRadius:3.5];
|
| [path setLineWidth:0];
|
| [[NSColor redColor] setStroke];
|
| [path stroke];
|
|
|