Index: third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp b/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp |
index 6593acbd689a5da9fcb489dcc6815f530f6c6c40..18a95646984b7d7eb580586ddc01461df5b91c8e 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp |
@@ -66,7 +66,7 @@ FloatRect SVGLayoutSupport::localOverflowRectForPaintInvalidation(const LayoutOb |
ASSERT(!object.isSVGRoot()); |
// Return early for any cases where we don't actually paint |
- if (object.styleRef().visibility() != VISIBLE && !object.enclosingLayer()->hasVisibleContent()) |
+ if (object.styleRef().visibility() != EVisibility::Visible && !object.enclosingLayer()->hasVisibleContent()) |
return FloatRect(); |
FloatRect paintInvalidationRect = object.paintInvalidationRectInLocalSVGCoordinates(); |