Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(270)

Unified Diff: third_party/WebKit/Source/core/paint/TableCellPainter.cpp

Issue 2181953004: Changed ComputedStyle's EVisibility to be an enum class and fixed naming (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_move_computedstyle_around
Patch Set: Rebase Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 77288009e75522ad01cce275a883fd22bebd3d77..ea61e0ebf317133bc7a749e1411b7a1dbf7c372b 100644
--- a/third_party/WebKit/Source/core/paint/TableCellPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/TableCellPainter.cpp
@@ -58,7 +58,7 @@ static EBorderStyle collapsedBorderStyle(EBorderStyle style)
void TableCellPainter::paintCollapsedBorders(const PaintInfo& paintInfo, const LayoutPoint& paintOffset, const CollapsedBorderValue& currentBorderValue)
{
- if (m_layoutTableCell.style()->visibility() != VISIBLE)
+ if (m_layoutTableCell.style()->visibility() != EVisibility::Visible)
return;
LayoutPoint adjustedPaintOffset = paintOffset + m_layoutTableCell.location();
@@ -130,7 +130,7 @@ void TableCellPainter::paintContainerBackgroundBehindCell(const PaintInfo& paint
{
DCHECK(backgroundObject != m_layoutTableCell);
- if (m_layoutTableCell.style()->visibility() != VISIBLE)
+ if (m_layoutTableCell.style()->visibility() != EVisibility::Visible)
return;
LayoutPoint adjustedPaintOffset = paintOffset + m_layoutTableCell.location();
@@ -202,7 +202,7 @@ void TableCellPainter::paintBoxDecorationBackground(const PaintInfo& paintInfo,
void TableCellPainter::paintMask(const PaintInfo& paintInfo, const LayoutPoint& paintOffset)
{
- if (m_layoutTableCell.style()->visibility() != VISIBLE || paintInfo.phase != PaintPhaseMask)
+ if (m_layoutTableCell.style()->visibility() != EVisibility::Visible || paintInfo.phase != PaintPhaseMask)
return;
LayoutTable* tableElt = m_layoutTableCell.table();

Powered by Google App Engine
This is Rietveld 408576698