| Index: third_party/WebKit/Source/core/paint/TablePainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/TablePainter.cpp b/third_party/WebKit/Source/core/paint/TablePainter.cpp
|
| index 0beb002faec1c26056f8a66581faddee09d52456..c020a9849fa18844c242d1358db7e89af662b3db 100644
|
| --- a/third_party/WebKit/Source/core/paint/TablePainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/TablePainter.cpp
|
| @@ -41,7 +41,7 @@ void TablePainter::paintObject(const PaintInfo& paintInfo, const LayoutPoint& pa
|
| }
|
| }
|
|
|
| - if (m_layoutTable.collapseBorders() && shouldPaintDescendantBlockBackgrounds(paintPhase) && m_layoutTable.style()->visibility() == VISIBLE) {
|
| + if (m_layoutTable.collapseBorders() && shouldPaintDescendantBlockBackgrounds(paintPhase) && m_layoutTable.style()->visibility() == EVisibility::Visible) {
|
| // Using our cached sorted styles, we then do individual passes,
|
| // painting each style of border from lowest precedence to highest precedence.
|
| LayoutTable::CollapsedBorderValues collapsedBorders = m_layoutTable.collapsedBorders();
|
| @@ -61,7 +61,7 @@ void TablePainter::paintObject(const PaintInfo& paintInfo, const LayoutPoint& pa
|
|
|
| void TablePainter::paintBoxDecorationBackground(const PaintInfo& paintInfo, const LayoutPoint& paintOffset)
|
| {
|
| - if (!m_layoutTable.hasBoxDecorationBackground() || m_layoutTable.style()->visibility() != VISIBLE)
|
| + if (!m_layoutTable.hasBoxDecorationBackground() || m_layoutTable.style()->visibility() != EVisibility::Visible)
|
| return;
|
|
|
| LayoutRect rect(paintOffset, m_layoutTable.size());
|
| @@ -71,7 +71,7 @@ void TablePainter::paintBoxDecorationBackground(const PaintInfo& paintInfo, cons
|
|
|
| void TablePainter::paintMask(const PaintInfo& paintInfo, const LayoutPoint& paintOffset)
|
| {
|
| - if (m_layoutTable.style()->visibility() != VISIBLE || paintInfo.phase != PaintPhaseMask)
|
| + if (m_layoutTable.style()->visibility() != EVisibility::Visible || paintInfo.phase != PaintPhaseMask)
|
| return;
|
|
|
| if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(paintInfo.context, m_layoutTable, paintInfo.phase))
|
|
|