| 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 3ac8ce1dd396bd8695b68d3217bceb3dd2b2ddd3..5aa8690c86e2ab485719db7e6841a0c2a67c1d19 100644
|
| --- a/third_party/WebKit/Source/core/paint/TableCellPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/TableCellPainter.cpp
|
| @@ -81,7 +81,7 @@ void TableCellPainter::paintCollapsedBorders(
|
| const PaintInfo& paintInfo,
|
| const LayoutPoint& paintOffset,
|
| const CollapsedBorderValue& currentBorderValue) {
|
| - if (m_layoutTableCell.style()->visibility() != EVisibility::Visible)
|
| + if (m_layoutTableCell.style()->visibility() != EVisibility::kVisible)
|
| return;
|
|
|
| LayoutPoint adjustedPaintOffset = paintOffset + m_layoutTableCell.location();
|
| @@ -181,7 +181,7 @@ void TableCellPainter::paintContainerBackgroundBehindCell(
|
| DisplayItem::Type type) {
|
| DCHECK(backgroundObject != m_layoutTableCell);
|
|
|
| - if (m_layoutTableCell.style()->visibility() != EVisibility::Visible)
|
| + if (m_layoutTableCell.style()->visibility() != EVisibility::kVisible)
|
| return;
|
|
|
| LayoutPoint adjustedPaintOffset = paintOffset + m_layoutTableCell.location();
|
| @@ -191,7 +191,7 @@ void TableCellPainter::paintContainerBackgroundBehindCell(
|
|
|
| LayoutTable* table = m_layoutTableCell.table();
|
| if (!table->collapseBorders() &&
|
| - m_layoutTableCell.style()->emptyCells() == EEmptyCells::Hide &&
|
| + m_layoutTableCell.style()->emptyCells() == EEmptyCells::kHide &&
|
| !m_layoutTableCell.firstChild())
|
| return;
|
|
|
| @@ -240,7 +240,7 @@ void TableCellPainter::paintBoxDecorationBackground(
|
| const LayoutPoint& paintOffset) {
|
| LayoutTable* table = m_layoutTableCell.table();
|
| const ComputedStyle& style = m_layoutTableCell.styleRef();
|
| - if (!table->collapseBorders() && style.emptyCells() == EEmptyCells::Hide &&
|
| + if (!table->collapseBorders() && style.emptyCells() == EEmptyCells::kHide &&
|
| !m_layoutTableCell.firstChild())
|
| return;
|
|
|
| @@ -277,13 +277,13 @@ void TableCellPainter::paintBoxDecorationBackground(
|
|
|
| void TableCellPainter::paintMask(const PaintInfo& paintInfo,
|
| const LayoutPoint& paintOffset) {
|
| - if (m_layoutTableCell.style()->visibility() != EVisibility::Visible ||
|
| + if (m_layoutTableCell.style()->visibility() != EVisibility::kVisible ||
|
| paintInfo.phase != PaintPhaseMask)
|
| return;
|
|
|
| LayoutTable* tableElt = m_layoutTableCell.table();
|
| if (!tableElt->collapseBorders() &&
|
| - m_layoutTableCell.style()->emptyCells() == EEmptyCells::Hide &&
|
| + m_layoutTableCell.style()->emptyCells() == EEmptyCells::kHide &&
|
| !m_layoutTableCell.firstChild())
|
| return;
|
|
|
|
|