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

Unified Diff: third_party/WebKit/Source/core/paint/BoxPainter.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/BoxPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/BoxPainter.cpp b/third_party/WebKit/Source/core/paint/BoxPainter.cpp
index faa7b56273d9bad7e2e9b4b5c27b0e5478699bf8..a58f9ca85b05d3bed0faf68caef6146940198add 100644
--- a/third_party/WebKit/Source/core/paint/BoxPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/BoxPainter.cpp
@@ -798,7 +798,7 @@ void BoxPainter::paintFillLayer(const LayoutBoxModelObject& obj,
void BoxPainter::paintMask(const PaintInfo& paintInfo,
const LayoutPoint& paintOffset) {
- if (m_layoutBox.style()->visibility() != EVisibility::Visible ||
+ if (m_layoutBox.style()->visibility() != EVisibility::kVisible ||
paintInfo.phase != PaintPhaseMask)
return;
@@ -857,7 +857,7 @@ void BoxPainter::paintClippingMask(const PaintInfo& paintInfo,
const LayoutPoint& paintOffset) {
DCHECK(paintInfo.phase == PaintPhaseClippingMask);
- if (m_layoutBox.style()->visibility() != EVisibility::Visible)
+ if (m_layoutBox.style()->visibility() != EVisibility::kVisible)
return;
if (!m_layoutBox.layer() ||
@@ -1084,7 +1084,7 @@ bool BoxPainter::shouldForceWhiteBackgroundForPrintEconomy(
const ComputedStyle& style,
const Document& document) {
return document.printing() &&
- style.printColorAdjust() == EPrintColorAdjust::Economy &&
+ style.printColorAdjust() == EPrintColorAdjust::kEconomy &&
(!document.settings() ||
!document.settings()->getShouldPrintBackgrounds());
}
« no previous file with comments | « third_party/WebKit/Source/core/paint/BlockPainter.cpp ('k') | third_party/WebKit/Source/core/paint/DetailsMarkerPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698