Index: Source/core/paint/TableRowPainter.cpp |
diff --git a/Source/core/paint/TableRowPainter.cpp b/Source/core/paint/TableRowPainter.cpp |
index 57ae1748d086b1b6aa6e5509a1b2afde4cd143b6..d7d605bb4fd98a2911f2e42b996fb0880a7e07cc 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); |
} |
} |