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 42a76bc6d31bfe668fed3c7ff1a3ba071bd30424..b158172674f26a8d09a18bf9868761ee8a669898 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(); |
@@ -1336,7 +1336,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) |