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