| 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());
|
| }
|
|
|