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