Index: Source/core/rendering/RenderGrid.h |
diff --git a/Source/core/rendering/RenderGrid.h b/Source/core/rendering/RenderGrid.h |
index 11ed43ad4bc3ac7a010417006af8dc279d1bd3fa..d40a7733b91e5e4987c933f757604ebef0ae8b84 100644 |
--- a/Source/core/rendering/RenderGrid.h |
+++ b/Source/core/rendering/RenderGrid.h |
@@ -66,7 +66,7 @@ private: |
virtual void computePreferredLogicalWidths() override; |
virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0) override; |
- void addChildToIndexesMap(RenderBox&); |
+ void addChildToIndexesMap(RenderBox& child); |
Julien - ping for review
2015/01/05 13:11:34
Unneeded parameter (the name of the function makes
|
virtual void removeChild(RenderObject*) override; |
virtual void styleDidChange(StyleDifference, const RenderStyle*) override; |
@@ -157,9 +157,13 @@ private: |
return m_grid.size(); |
} |
+ bool hasAutoPlacedItems() const { return m_hasAutoPlacedItems; } |
+ void setHasAutoPlacedItems() { m_hasAutoPlacedItems = true; } |
+ |
typedef Vector<Vector<GridCell> > GridRepresentation; |
GridRepresentation m_grid; |
bool m_gridIsDirty; |
+ bool m_hasAutoPlacedItems; |
Vector<LayoutUnit> m_rowPositions; |
Vector<LayoutUnit> m_columnPositions; |
HashMap<const RenderBox*, GridCoordinate> m_gridItemCoordinate; |