| Index: third_party/WebKit/Source/core/paint/TableCellPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/TableCellPainter.cpp b/third_party/WebKit/Source/core/paint/TableCellPainter.cpp
|
| index 5aa8690c86e2ab485719db7e6841a0c2a67c1d19..a1d1105e90e109d08f185cfe7d013948c179fe1a 100644
|
| --- a/third_party/WebKit/Source/core/paint/TableCellPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/TableCellPainter.cpp
|
| @@ -177,34 +177,20 @@ void TableCellPainter::paintCollapsedBorders(
|
| void TableCellPainter::paintContainerBackgroundBehindCell(
|
| const PaintInfo& paintInfo,
|
| const LayoutPoint& paintOffset,
|
| - const LayoutObject& backgroundObject,
|
| - DisplayItem::Type type) {
|
| + const LayoutObject& backgroundObject) {
|
| DCHECK(backgroundObject != m_layoutTableCell);
|
|
|
| if (m_layoutTableCell.style()->visibility() != EVisibility::kVisible)
|
| return;
|
|
|
| - LayoutPoint adjustedPaintOffset = paintOffset + m_layoutTableCell.location();
|
| - if (!BlockPainter(m_layoutTableCell)
|
| - .intersectsPaintRect(paintInfo, adjustedPaintOffset))
|
| - return;
|
| -
|
| LayoutTable* table = m_layoutTableCell.table();
|
| if (!table->collapseBorders() &&
|
| m_layoutTableCell.style()->emptyCells() == EEmptyCells::kHide &&
|
| !m_layoutTableCell.firstChild())
|
| return;
|
|
|
| - const DisplayItemClient& client =
|
| - m_layoutTableCell.backgroundDisplayItemClient();
|
| - if (DrawingRecorder::useCachedDrawingIfPossible(paintInfo.context, client,
|
| - type))
|
| - return;
|
| -
|
| - LayoutRect paintRect =
|
| - paintRectNotIncludingVisualOverflow(adjustedPaintOffset);
|
| - DrawingRecorder recorder(paintInfo.context, client, type,
|
| - FloatRect(paintRect));
|
| + LayoutRect paintRect = paintRectNotIncludingVisualOverflow(
|
| + paintOffset + m_layoutTableCell.location());
|
| paintBackground(paintInfo, paintRect, backgroundObject);
|
| }
|
|
|
|
|