Index: third_party/WebKit/Source/core/layout/LayoutGrid.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp |
index c9298c6811f4791ed64f0cf6a6fa204ce7adcf7d..0c851eee5a2cb8ee4fb901b07624ecbc15bcbabd 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp |
@@ -1330,8 +1330,9 @@ LayoutUnit LayoutGrid::minSizeForChild(LayoutBox& child, |
const Length& childMinSize = isRowAxis ? child.styleRef().logicalMinWidth() |
: child.styleRef().logicalMinHeight(); |
bool overflowIsVisible = |
- isRowAxis ? child.styleRef().overflowInlineDirection() == OverflowVisible |
- : child.styleRef().overflowBlockDirection() == OverflowVisible; |
+ isRowAxis |
+ ? child.styleRef().overflowInlineDirection() == EOverflow::Visible |
+ : child.styleRef().overflowBlockDirection() == EOverflow::Visible; |
if (!childSize.isAuto() || (childMinSize.isAuto() && overflowIsVisible)) |
return minContentForChild(child, direction, sizingData); |