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 51a09fbfa70d13f892d5095af0c8fe3bf4b9bdd6..c98c3f74db9d9732a810ce57a7cc41545deecf86 100644 |
--- a/third_party/WebKit/Source/core/layout/GridTrackSizingAlgorithm.cpp |
+++ b/third_party/WebKit/Source/core/layout/GridTrackSizingAlgorithm.cpp |
@@ -416,8 +416,9 @@ LayoutUnit DefiniteSizeStrategy::minLogicalWidthForChild( |
LayoutUnit marginLogicalWidth = |
computeMarginLogicalSizeForChild(InlineDirection, layoutGrid(), child); |
return child.computeLogicalWidthUsing( |
- MinSize, childMinSize, overrideContainingBlockContentSizeForChild( |
- child, childInlineDirection), |
+ MinSize, childMinSize, |
+ overrideContainingBlockContentSizeForChild(child, |
+ childInlineDirection), |
layoutGrid()) + |
marginLogicalWidth; |
} |
@@ -464,8 +465,9 @@ LayoutUnit IndefiniteSizeStrategy::minLogicalWidthForChild( |
// fail, so we need a test case for this too. |
LayoutUnit marginLogicalWidth = LayoutUnit(); |
return child.computeLogicalWidthUsing( |
- MinSize, childMinSize, overrideContainingBlockContentSizeForChild( |
- child, childInlineDirection), |
+ MinSize, childMinSize, |
+ overrideContainingBlockContentSizeForChild(child, |
+ childInlineDirection), |
layoutGrid()) + |
marginLogicalWidth; |
} |