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

Unified Diff: third_party/WebKit/Source/core/paint/TablePainter.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/TablePainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/TablePainter.cpp b/third_party/WebKit/Source/core/paint/TablePainter.cpp
index 16f910484ae6263f1cb44bbaf6332af82bd83f8f..321c0d34d8dc296dbadac2c4c98a0d5ee847cfab 100644
--- a/third_party/WebKit/Source/core/paint/TablePainter.cpp
+++ b/third_party/WebKit/Source/core/paint/TablePainter.cpp
@@ -46,7 +46,7 @@ void TablePainter::paintObject(const PaintInfo& paintInfo,
if (m_layoutTable.collapseBorders() &&
shouldPaintDescendantBlockBackgrounds(paintPhase) &&
- m_layoutTable.style()->visibility() == EVisibility::Visible) {
+ m_layoutTable.style()->visibility() == EVisibility::kVisible) {
// Using our cached sorted styles, we then do individual passes,
// painting each style of border from lowest precedence to highest
// precedence.
@@ -73,7 +73,7 @@ void TablePainter::paintBoxDecorationBackground(
const PaintInfo& paintInfo,
const LayoutPoint& paintOffset) {
if (!m_layoutTable.hasBoxDecorationBackground() ||
- m_layoutTable.style()->visibility() != EVisibility::Visible)
+ m_layoutTable.style()->visibility() != EVisibility::kVisible)
return;
LayoutRect rect(paintOffset, m_layoutTable.size());
@@ -84,7 +84,7 @@ void TablePainter::paintBoxDecorationBackground(
void TablePainter::paintMask(const PaintInfo& paintInfo,
const LayoutPoint& paintOffset) {
- if (m_layoutTable.style()->visibility() != EVisibility::Visible ||
+ if (m_layoutTable.style()->visibility() != EVisibility::kVisible ||
paintInfo.phase != PaintPhaseMask)
return;

Powered by Google App Engine
This is Rietveld 408576698