Index: Source/core/paint/TableSectionPainter.cpp |
diff --git a/Source/core/paint/TableSectionPainter.cpp b/Source/core/paint/TableSectionPainter.cpp |
index 4f88eb9966bf046731c49af4da8becae5240e547..75ea6b1aff4a635b9d3856bea39e23542cb8c802 100644 |
--- a/Source/core/paint/TableSectionPainter.cpp |
+++ b/Source/core/paint/TableSectionPainter.cpp |
@@ -37,11 +37,8 @@ void TableSectionPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& p |
paintObject(paintInfo, adjustedPaintOffset); |
} |
- if ((paintInfo.phase == PaintPhaseOutline || paintInfo.phase == PaintPhaseSelfOutline) && m_layoutTableSection.style()->visibility() == VISIBLE) { |
- LayoutRect visualOverflowRect(m_layoutTableSection.visualOverflowRect()); |
- visualOverflowRect.moveBy(adjustedPaintOffset); |
- ObjectPainter(m_layoutTableSection).paintOutline(paintInfo, LayoutRect(adjustedPaintOffset, m_layoutTableSection.size()), visualOverflowRect); |
- } |
+ if ((paintInfo.phase == PaintPhaseOutline || paintInfo.phase == PaintPhaseSelfOutline) && m_layoutTableSection.style()->visibility() == VISIBLE) |
+ ObjectPainter(m_layoutTableSection).paintOutline(paintInfo, m_layoutTableSection.visualOverflowRect(), m_layoutTableSection.size(), adjustedPaintOffset); |
} |
static inline bool compareCellPositions(LayoutTableCell* elem1, LayoutTableCell* elem2) |