| 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 c6372e500b97001ce68ee42e1abf060f151e5c78..2b0f09b543e3c36139e80da8191fc6b358fb4569 100644
|
| --- a/third_party/WebKit/Source/core/paint/TableCellPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/TableCellPainter.cpp
|
| @@ -66,7 +66,7 @@ static EBorderStyle collapsedBorderStyle(EBorderStyle style)
|
|
|
| void TableCellPainter::paintCollapsedBorders(const PaintInfo& paintInfo, const LayoutPoint& paintOffset, const CollapsedBorderValue& currentBorderValue)
|
| {
|
| - if (!paintInfo.shouldPaintWithinRoot(&m_layoutTableCell) || m_layoutTableCell.style()->visibility() != VISIBLE)
|
| + if (m_layoutTableCell.style()->visibility() != VISIBLE)
|
| return;
|
|
|
| const ComputedStyle& styleForCellFlow = m_layoutTableCell.styleForCellFlow();
|
| @@ -133,9 +133,6 @@ void TableCellPainter::paintCollapsedBorders(const PaintInfo& paintInfo, const L
|
|
|
| void TableCellPainter::paintBackgroundsBehindCell(const PaintInfo& paintInfo, const LayoutPoint& paintOffset, const LayoutObject* backgroundObject, DisplayItem::Type type)
|
| {
|
| - if (!paintInfo.shouldPaintWithinRoot(&m_layoutTableCell))
|
| - return;
|
| -
|
| if (!backgroundObject)
|
| return;
|
|
|
| @@ -177,9 +174,6 @@ void TableCellPainter::paintBackgroundsBehindCell(const PaintInfo& paintInfo, co
|
|
|
| void TableCellPainter::paintBoxDecorationBackground(const PaintInfo& paintInfo, const LayoutPoint& paintOffset)
|
| {
|
| - if (!paintInfo.shouldPaintWithinRoot(&m_layoutTableCell))
|
| - return;
|
| -
|
| LayoutTable* table = m_layoutTableCell.table();
|
| if (!table->collapseBorders() && m_layoutTableCell.style()->emptyCells() == HIDE && !m_layoutTableCell.firstChild())
|
| return;
|
|
|