Index: third_party/WebKit/Source/core/layout/LayoutGrid.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutGrid.h b/third_party/WebKit/Source/core/layout/LayoutGrid.h |
index f1b8b6681a1fb78c489829eb69264dd60f2a8d9d..8bf7d5ba63cf3bcf8a840f5f34263a1cfac4af38 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutGrid.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutGrid.h |
@@ -143,6 +143,8 @@ private: |
LayoutUnit computeTrackBasedLogicalHeight(const GridSizingData&) const; |
void computeTrackSizesForDirection(GridTrackSizingDirection, GridSizingData&, LayoutUnit freeSpace); |
+ void repeatTracksSizingIfNeeded(GridSizingData&, LayoutUnit availableSpaceForColumns, LayoutUnit availableSpaceForRows); |
+ |
void layoutGridItems(GridSizingData&); |
void prepareChildForPositionedLayout(LayoutBox&); |
void layoutPositionedObjects(bool relayoutChildren, PositionedLayoutBehavior = DefaultLayout); |
@@ -178,6 +180,7 @@ private: |
LayoutUnit gridAreaBreadthForChild(const LayoutBox& child, GridTrackSizingDirection, const GridSizingData&) const; |
LayoutUnit gridAreaBreadthForChildIncludingAlignmentOffsets(const LayoutBox&, GridTrackSizingDirection, const GridSizingData&) const; |
+ LayoutUnit assumedRowsSizeForOrthogonalChild(const LayoutBox&) const; |
void applyStretchAlignmentToTracksIfNeeded(GridTrackSizingDirection, GridSizingData&); |
@@ -235,6 +238,8 @@ private: |
size_t m_autoRepeatColumns { 0 }; |
size_t m_autoRepeatRows { 0 }; |
+ |
+ bool m_hasAnyOrthogonalChild; |
}; |
DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutGrid, isLayoutGrid()); |