Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp |
index c560c61648448cd65b9d47b562927451924e63e3..2e544acd655de43ef08ca26d6b31f133012a5af9 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp |
@@ -379,7 +379,7 @@ LayoutRect LayoutSVGRoot::localVisualRect() const { |
// LayoutSVGRootTest.VisualRectMappingWithViewportClipWithoutBorder). |
// Return early for any cases where we don't actually paint. |
- if (style()->visibility() != EVisibility::Visible && |
+ if (style()->visibility() != EVisibility::kVisible && |
!enclosingLayer()->hasVisibleContent()) |
return LayoutRect(); |