| 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..2a7aedc4eab57f351cb3217f2dc667613e40ab8d 100644
|
| --- a/chrome/browser/ui/views/tabs/tab.cc
|
| +++ b/chrome/browser/ui/views/tabs/tab.cc
|
| @@ -1656,7 +1656,9 @@ void Tab::ScheduleIconPaint() {
|
|
|
| void Tab::GetFillPath(float scale, SkPath* fill) const {
|
| const float right = width() * scale;
|
| - const float bottom = height() * scale;
|
| + // The bottom of the tab needs to be pixel-aligned or else when we call
|
| + // ClipPath with anti-aliasing enabled it can cause artifacts.
|
| + const float bottom = std::ceil(height() * scale);
|
| const float unscaled_endcap_width = GetUnscaledEndcapWidth();
|
|
|
| fill->moveTo(right - 1, bottom);
|
|
|