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

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

Issue 2614883007: Change computed style enums to be prefixed with 'k'. (Closed)
Patch Set: Rebase on ToT. Created 3 years, 11 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 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;
« no previous file with comments | « third_party/WebKit/Source/core/paint/SVGShapePainter.cpp ('k') | third_party/WebKit/Source/core/paint/TablePainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698