| Index: third_party/WebKit/Source/core/paint/TableRowPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/TableRowPainter.cpp b/third_party/WebKit/Source/core/paint/TableRowPainter.cpp
|
| index 635fdfee9ec6a68e7056a4e3102740fb5eae6264..0735dc57de67a05e9fcfea9d8ddb7e56d55acd56 100644
|
| --- a/third_party/WebKit/Source/core/paint/TableRowPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/TableRowPainter.cpp
|
| @@ -27,7 +27,7 @@ void TableRowPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paint
|
| PaintInfo paintInfoForCells = paintInfo.forDescendants();
|
| if (shouldPaintSelfBlockBackground(paintInfo.phase)) {
|
| paintBoxShadow(paintInfo, paintOffset, Normal);
|
| - if (m_layoutTableRow.hasBackground()) {
|
| + if (m_layoutTableRow.styleRef().hasBackground()) {
|
| // Paint row background of behind the cells.
|
| for (LayoutTableCell* cell = m_layoutTableRow.firstCell(); cell; cell = cell->nextCell())
|
| TableCellPainter(*cell).paintContainerBackgroundBehindCell(paintInfoForCells, paintOffset, m_layoutTableRow, DisplayItem::TableCellBackgroundFromRow);
|
| @@ -69,7 +69,7 @@ void TableRowPainter::paintBoxShadow(const PaintInfo& paintInfo, const LayoutPoi
|
|
|
| void TableRowPainter::paintBackgroundBehindCell(const LayoutTableCell& cell, const PaintInfo& paintInfo, const LayoutPoint& paintOffset)
|
| {
|
| - DCHECK(m_layoutTableRow.hasBackground() && !m_layoutTableRow.hasSelfPaintingLayer());
|
| + DCHECK(m_layoutTableRow.styleRef().hasBackground() && !m_layoutTableRow.hasSelfPaintingLayer());
|
| LayoutPoint cellPoint = m_layoutTableRow.section()->flipForWritingModeForChild(&cell, paintOffset);
|
| TableCellPainter(cell).paintContainerBackgroundBehindCell(paintInfo, cellPoint, m_layoutTableRow, DisplayItem::TableCellBackgroundFromRow);
|
| }
|
|
|