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

Unified Diff: third_party/WebKit/Source/core/paint/ReplacedPainter.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/ReplacedPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp b/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp
index 62583a916f5c3dc4130160d454edd0932f94a76c..b1378a22ed757360e68a313697d904653ad20667 100644
--- a/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp
@@ -31,7 +31,7 @@ void ReplacedPainter::paint(const PaintInfo& paintInfo,
LayoutRect borderRect(adjustedPaintOffset, m_layoutReplaced.size());
- if (m_layoutReplaced.style()->visibility() == EVisibility::Visible &&
+ if (m_layoutReplaced.style()->visibility() == EVisibility::kVisible &&
m_layoutReplaced.hasBoxDecorationBackground() &&
(paintInfo.phase == PaintPhaseForeground ||
paintInfo.phase == PaintPhaseSelection))
@@ -137,7 +137,7 @@ bool ReplacedPainter::shouldPaint(
// But if it's an SVG root, there can be children, so we'll check visibility
// later.
if (!m_layoutReplaced.isSVGRoot() &&
- m_layoutReplaced.style()->visibility() != EVisibility::Visible)
+ m_layoutReplaced.style()->visibility() != EVisibility::kVisible)
return false;
LayoutRect paintRect(m_layoutReplaced.visualOverflowRect());
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayer.cpp ('k') | third_party/WebKit/Source/core/paint/RootInlineBoxPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698