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

Unified Diff: third_party/WebKit/Source/core/paint/BlockPainter.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/BlockPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/BlockPainter.cpp b/third_party/WebKit/Source/core/paint/BlockPainter.cpp
index f4c99ed35b72da4c3626386d5d2f3d46dadf99b3..c17939e17e86c1b9a69b32fe410eae55c1d3eca3 100644
--- a/third_party/WebKit/Source/core/paint/BlockPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/BlockPainter.cpp
@@ -78,7 +78,7 @@ void BlockPainter::paintOverflowControlsIfNeeded(
const PaintInfo& paintInfo,
const LayoutPoint& paintOffset) {
if (m_layoutBlock.hasOverflowClip() &&
- m_layoutBlock.style()->visibility() == EVisibility::Visible &&
+ m_layoutBlock.style()->visibility() == EVisibility::kVisible &&
shouldPaintSelfBlockBackground(paintInfo.phase) &&
!paintInfo.paintRootBackgroundOnly()) {
Optional<ClipRecorder> clipRecorder;
@@ -170,7 +170,7 @@ void BlockPainter::paintObject(const PaintInfo& paintInfo,
const PaintPhase paintPhase = paintInfo.phase;
if (shouldPaintSelfBlockBackground(paintPhase)) {
- if (m_layoutBlock.style()->visibility() == EVisibility::Visible &&
+ if (m_layoutBlock.style()->visibility() == EVisibility::kVisible &&
m_layoutBlock.hasBoxDecorationBackground())
m_layoutBlock.paintBoxDecorationBackground(paintInfo, paintOffset);
// We're done. We don't bother painting any children.
@@ -182,13 +182,13 @@ void BlockPainter::paintObject(const PaintInfo& paintInfo,
return;
if (paintPhase == PaintPhaseMask &&
- m_layoutBlock.style()->visibility() == EVisibility::Visible) {
+ m_layoutBlock.style()->visibility() == EVisibility::kVisible) {
m_layoutBlock.paintMask(paintInfo, paintOffset);
return;
}
if (paintPhase == PaintPhaseClippingMask &&
- m_layoutBlock.style()->visibility() == EVisibility::Visible) {
+ m_layoutBlock.style()->visibility() == EVisibility::kVisible) {
BoxPainter(m_layoutBlock).paintClippingMask(paintInfo, paintOffset);
return;
}
« no previous file with comments | « third_party/WebKit/Source/core/page/ChromeClient.cpp ('k') | third_party/WebKit/Source/core/paint/BoxPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698