Index: Source/core/rendering/RenderTableCell.cpp |
diff --git a/Source/core/rendering/RenderTableCell.cpp b/Source/core/rendering/RenderTableCell.cpp |
index b465f0eabe0b86fdde164ed68f239936633b6b87..b5c949f7fb88558ef154c460406b1390a3643c2a 100644 |
--- a/Source/core/rendering/RenderTableCell.cpp |
+++ b/Source/core/rendering/RenderTableCell.cpp |
@@ -1107,14 +1107,11 @@ void RenderTableCell::paintCollapsedBorders(PaintInfo& paintInfo, const LayoutPo |
if (!paintInfo.shouldPaintWithinRoot(this) || style()->visibility() != VISIBLE) |
return; |
- LayoutRect localRepaintRect = paintInfo.rect; |
- localRepaintRect.inflate(maximalOutlineSize(paintInfo.phase)); |
- |
LayoutRect paintRect = LayoutRect(paintOffset + location(), pixelSnappedSize()); |
- if (paintRect.y() - table()->outerBorderTop() >= localRepaintRect.maxY()) |
+ if (paintRect.y() - table()->outerBorderTop() >= paintInfo.rect.maxY()) |
return; |
- if (paintRect.maxY() + table()->outerBorderBottom() <= localRepaintRect.y()) |
+ if (paintRect.maxY() + table()->outerBorderBottom() <= paintInfo.rect.y()) |
return; |
GraphicsContext* graphicsContext = paintInfo.context; |