Index: Source/core/paint/TableSectionPainter.cpp |
diff --git a/Source/core/paint/TableSectionPainter.cpp b/Source/core/paint/TableSectionPainter.cpp |
index 75ea6b1aff4a635b9d3856bea39e23542cb8c802..b9edb290c9f5e439b1fbb04996d5e14266c27175 100644 |
--- a/Source/core/paint/TableSectionPainter.cpp |
+++ b/Source/core/paint/TableSectionPainter.cpp |
@@ -173,8 +173,8 @@ void TableSectionPainter::paintCell(LayoutTableCell* cell, const PaintInfo& pain |
if (columnHasBackground || columnGroupHasBackground || sectionHasBackground || rowHasBackground) { |
TableCellPainter tableCellPainter(*cell); |
- if (!LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*paintInfo.context, *cell, paintPhase)) { |
- LayoutObjectDrawingRecorder recorder(*paintInfo.context, *cell, paintPhase, tableCellPainter.paintBounds(cellPoint, TableCellPainter::AddOffsetFromParent)); |
+ if (!LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*paintInfo.context, *cell, paintPhase, paintOffset)) { |
+ LayoutObjectDrawingRecorder recorder(*paintInfo.context, *cell, paintPhase, tableCellPainter.paintBounds(cellPoint, TableCellPainter::AddOffsetFromParent), paintOffset); |
// Column groups and columns first. |
// FIXME: Columns and column groups do not currently support opacity, and they are being painted "too late" in |
// the stack, since we have already opened a transparency layer (potentially) for the table row group. |