Chromium Code Reviews| Index: chrome/browser/ui/views/tabs/tab.cc |
| diff --git a/chrome/browser/ui/views/tabs/tab.cc b/chrome/browser/ui/views/tabs/tab.cc |
| index 074495d401500b1416437c62f89643fa63176765..84cf80349994372e1de524cdd72405b8eef93913 100644 |
| --- a/chrome/browser/ui/views/tabs/tab.cc |
| +++ b/chrome/browser/ui/views/tabs/tab.cc |
| @@ -1656,7 +1656,7 @@ void Tab::ScheduleIconPaint() { |
| void Tab::GetFillPath(float scale, SkPath* fill) const { |
| const float right = width() * scale; |
| - const float bottom = height() * scale; |
| + const float bottom = std::ceil(height() * scale); |
|
Peter Kasting
2016/06/21 23:54:10
Add a comment explaining this ceil() call as it's
Bret
2016/06/22 01:00:48
Done.
|
| const float unscaled_endcap_width = GetUnscaledEndcapWidth(); |
| fill->moveTo(right - 1, bottom); |