| Index: third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp b/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
|
| index 77fda1696be1d5ad4fe7402832bce88453184cb2..cfc8efc4698928769b375eb3294eba11cb9d5290 100644
|
| --- a/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
|
| @@ -196,20 +196,20 @@ void TableSectionPainter::paintCell(const LayoutTableCell& cell, PaintPhase orig
|
| // Note that we deliberately ignore whether or not the cell has a layer, since these backgrounds paint "behind" the
|
| // cell.
|
| if (columnGroup && columnGroup->hasBackground())
|
| - tableCellPainter.paintBackgroundsBehindCell(paintInfoForCells, cellPoint, columnGroup, DisplayItem::TableCellBackgroundFromColumnGroup);
|
| + tableCellPainter.paintBackgroundsBehindCell(paintInfoForCells, cellPoint, *columnGroup, DisplayItem::TableCellBackgroundFromColumnGroup);
|
| if (column && column->hasBackground())
|
| - tableCellPainter.paintBackgroundsBehindCell(paintInfoForCells, cellPoint, column, DisplayItem::TableCellBackgroundFromColumn);
|
| + tableCellPainter.paintBackgroundsBehindCell(paintInfoForCells, cellPoint, *column, DisplayItem::TableCellBackgroundFromColumn);
|
|
|
| // Paint the row group next.
|
| if (m_layoutTableSection.hasBackground())
|
| - tableCellPainter.paintBackgroundsBehindCell(paintInfoForCells, cellPoint, &m_layoutTableSection, DisplayItem::TableCellBackgroundFromSection);
|
| + tableCellPainter.paintBackgroundsBehindCell(paintInfoForCells, cellPoint, m_layoutTableSection, DisplayItem::TableCellBackgroundFromSection);
|
| }
|
|
|
| if (shouldPaintDescendantBlockBackgrounds(originalPaintPhase)) {
|
| // Paint the row next, but only if it doesn't have a layer. If a row has a layer, it will be responsible for
|
| // painting the row background for the cell.
|
| if (row->hasBackground() && !row->hasSelfPaintingLayer())
|
| - TableCellPainter(cell).paintBackgroundsBehindCell(paintInfoForCells, cellPoint, row, DisplayItem::TableCellBackgroundFromRow);
|
| + TableCellPainter(cell).paintBackgroundsBehindCell(paintInfoForCells, cellPoint, *row, DisplayItem::TableCellBackgroundFromRow);
|
| }
|
|
|
| if (originalPaintPhase != PaintPhaseSelfBlockBackgroundOnly && !cell.hasSelfPaintingLayer() && !row->hasSelfPaintingLayer())
|
|
|