diff options
| -rw-r--r-- | chrome/browser/cocoa/gradient_button_cell.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/gradient_button_cell.mm b/chrome/browser/cocoa/gradient_button_cell.mm index f9f0d83..0a03e40 100644 --- a/chrome/browser/cocoa/gradient_button_cell.mm +++ b/chrome/browser/cocoa/gradient_button_cell.mm @@ -632,7 +632,7 @@ static const NSTimeInterval kAnimationContinuousCycleDuration = 0.4; NSSize size = [title size]; // Don't complicate drawing unless we need to clip - if (size.width <= NSWidth(cellFrame)) { + if (floor(size.width) <= NSWidth(cellFrame)) { return [super drawTitle:title withFrame:cellFrame inView:controlView]; } |
