Index: third_party/WebKit/Source/core/layout/LayoutInline.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutInline.cpp b/third_party/WebKit/Source/core/layout/LayoutInline.cpp |
index 136325539960a1e5e254fe60f70d106668abe02e..aeb6a2fe2859f7bd90d469a8f2eb4b2dc7262b60 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutInline.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutInline.cpp |
@@ -1050,7 +1050,7 @@ LayoutRect LayoutInline::localOverflowRectForPaintInvalidation() const |
if (!alwaysCreateLineBoxes()) |
return LayoutRect(); |
- if (style()->visibility() != VISIBLE) |
+ if (style()->visibility() != EVisibility::Visible) |
return LayoutRect(); |
return visualOverflowRect(); |
@@ -1335,7 +1335,7 @@ void LayoutInline::computeSelfHitTestRects(Vector<LayoutRect>& rects, const Layo |
void LayoutInline::addAnnotatedRegions(Vector<AnnotatedRegionValue>& regions) |
{ |
// Convert the style regions to absolute coordinates. |
- if (style()->visibility() != VISIBLE) |
+ if (style()->visibility() != EVisibility::Visible) |
return; |
if (style()->getDraggableRegionMode() == DraggableRegionNone) |