Index: Source/core/paint/TableRowPainter.cpp |
diff --git a/Source/core/paint/TableRowPainter.cpp b/Source/core/paint/TableRowPainter.cpp |
index 6fc25c621c8aad6b7e4c1bb68fa163c27c32976d..554f024d04a01dc872c18e33abbad6f03a3df5d6 100644 |
--- a/Source/core/paint/TableRowPainter.cpp |
+++ b/Source/core/paint/TableRowPainter.cpp |
@@ -24,8 +24,8 @@ void TableRowPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paint |
if (paintInfo.phase == PaintPhaseBlockBackground || paintInfo.phase == PaintPhaseChildBlockBackground) { |
if (m_layoutTableRow.hasBackground()) { |
TableCellPainter tableCellPainter(*cell); |
- if (!LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*paintInfo.context, *cell, DisplayItem::TableCellBackgroundFromSelfPaintingRow)) { |
- LayoutObjectDrawingRecorder recorder(*paintInfo.context, *cell, DisplayItem::TableCellBackgroundFromSelfPaintingRow, tableCellPainter.paintBounds(paintOffset, TableCellPainter::AddOffsetFromParent)); |
+ if (!LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*paintInfo.context, *cell, DisplayItem::TableCellBackgroundFromSelfPaintingRow, paintOffset)) { |
+ LayoutObjectDrawingRecorder recorder(*paintInfo.context, *cell, DisplayItem::TableCellBackgroundFromSelfPaintingRow, tableCellPainter.paintBounds(paintOffset, TableCellPainter::AddOffsetFromParent), paintOffset); |
tableCellPainter.paintBackgroundsBehindCell(paintInfo, paintOffset, &m_layoutTableRow); |
} |
} |