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 7845f1a21ce696aad804d7584757828754ad86e5..e5cccec8f0e74be8cbc103d4da6f27eed34c8a42 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp |
@@ -377,7 +377,7 @@ void LayoutGrid::layoutBlock(bool relayoutChildren) |
// The above call might have changed the grid's logical height depending on min|max height restrictions. |
// Update the sizes of the rows whose size depends on the logical height (also on definite|indefinite sizes). |
if (logicalHeightWasIndefinite) |
- computeTrackSizesForDirection(ForRows, sizingData, logicalHeight()); |
+ computeTrackSizesForDirection(ForRows, sizingData, contentLogicalHeight()); |
// Grid container should have the minimum height of a line if it's editable. That doesn't affect track sizing though. |
if (hasLineIfEmpty()) |