| Index: chrome/browser/cocoa/download_item_cell.mm
|
| diff --git a/chrome/browser/cocoa/download_item_cell.mm b/chrome/browser/cocoa/download_item_cell.mm
|
| index 57d79e38f7fd36a3d6f9c50d047b405b57866904..267fb0f0eb5de0d96d894f251931b2e163a534e4 100644
|
| --- a/chrome/browser/cocoa/download_item_cell.mm
|
| +++ b/chrome/browser/cocoa/download_item_cell.mm
|
| @@ -397,20 +397,12 @@ const int kCompleteAnimationDuration = 2.5;
|
|
|
| NSBezierPath* buttonInnerPath = [self
|
| leftRoundedPath:radius inRect:buttonDrawRect];
|
| - NSBezierPath* buttonOuterPath = [self
|
| - leftRoundedPath:(radius + 1)
|
| - inRect:NSInsetRect(buttonDrawRect, -1, -1)];
|
| -
|
| NSBezierPath* dropdownInnerPath = [self
|
| rightRoundedPath:radius inRect:dropdownDrawRect];
|
| - NSBezierPath* dropdownOuterPath = [self
|
| - rightRoundedPath:(radius + 1)
|
| - inRect:NSInsetRect(dropdownDrawRect, -1, -1)];
|
|
|
| // Stroke the borders and appropriate fill gradient.
|
| [self drawBorderAndFillForTheme:theme
|
| controlView:controlView
|
| - outerPath:buttonOuterPath
|
| innerPath:buttonInnerPath
|
| showClickedGradient:[self isButtonPartPressed]
|
| showHighlightGradient:[self isMouseOverButtonPart]
|
| @@ -421,7 +413,6 @@ const int kCompleteAnimationDuration = 2.5;
|
|
|
| [self drawBorderAndFillForTheme:theme
|
| controlView:controlView
|
| - outerPath:dropdownOuterPath
|
| innerPath:dropdownInnerPath
|
| showClickedGradient:[self isDropdownPartPressed]
|
| showHighlightGradient:[self isMouseOverDropdownPart]
|
|
|