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 877cf7562ebf4d6db4739f634b073c95cf09c886..6f8e5aa38873f98df660ee278d12481defea0d42 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( |
SetGridItemNeedsLayout(child); |
} |
- // 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 |