Index: third_party/WebKit/Source/core/layout/GridTrackSizingAlgorithm.cpp |
diff --git a/third_party/WebKit/Source/core/layout/GridTrackSizingAlgorithm.cpp b/third_party/WebKit/Source/core/layout/GridTrackSizingAlgorithm.cpp |
index 8bf36b83228ee96a856761a14e1bea2deeaef9e9..8236757759321fe9b819ff7865160e36af32a8e7 100644 |
--- a/third_party/WebKit/Source/core/layout/GridTrackSizingAlgorithm.cpp |
+++ b/third_party/WebKit/Source/core/layout/GridTrackSizingAlgorithm.cpp |
@@ -281,11 +281,6 @@ LayoutUnit GridTrackSizingAlgorithmStrategy::LogicalHeightForChild( |
child.SetNeedsLayout(LayoutInvalidationReason::kGridChanged, kMarkOnlyThis); |
} |
- // We need to clear the stretched height to properly compute logical height |
- // during layout. |
- if (child.NeedsLayout()) |
- child.ClearOverrideLogicalContentHeight(); |
- |
child.LayoutIfNeeded(); |
GridAxis baseline_axis = GetLayoutGrid()->IsOrthogonalChild(child) |
? kGridRowAxis |