* rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::layoutBlock): Changed to not pass relayoutChildren to
layoutFlexItems.
(WebCore::RenderFlexibleBox::layoutFlexItems): Removed the unused relayoutChildren parameter.
* rendering/RenderFlexibleBox.h:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112156
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-03-26 Dan Bernstein <mitz@apple.com>
+
+ Tried to fix an unused parameter warning after r112154.
+
+ * rendering/RenderFlexibleBox.cpp:
+ (WebCore::RenderFlexibleBox::layoutBlock): Changed to not pass relayoutChildren to
+ layoutFlexItems.
+ (WebCore::RenderFlexibleBox::layoutFlexItems): Removed the unused relayoutChildren parameter.
+ * rendering/RenderFlexibleBox.h:
+
2012-03-26 Rob Arnold <robarnold@fb.com>
SyntheticStyleCalc on an element should not force recalculation on its children
FlexOrderHashSet flexOrderValues;
computeMainAxisPreferredSizes(relayoutChildren, flexOrderValues);
FlexOrderIterator flexIterator(this, flexOrderValues);
- layoutFlexItems(relayoutChildren, flexIterator, lineContexts);
+ layoutFlexItems(flexIterator, lineContexts);
LayoutUnit oldClientAfterEdge = clientLogicalBottom();
computeLogicalHeight();
return heightResult - preferredMainAxisExtent;
}
-void RenderFlexibleBox::layoutFlexItems(bool relayoutChildren, FlexOrderIterator& iterator, WTF::Vector<LineContext>& lineContexts)
+void RenderFlexibleBox::layoutFlexItems(FlexOrderIterator& iterator, WTF::Vector<LineContext>& lineContexts)
{
OrderedFlexItemList orderedChildren;
LayoutUnit preferredMainAxisExtent;
LayoutUnit mainAxisScrollbarExtentForChild(RenderBox* child) const;
LayoutUnit preferredMainAxisContentExtentForChild(RenderBox* child) const;
- void layoutFlexItems(bool relayoutChildren, FlexOrderIterator&, WTF::Vector<LineContext>&);
+ void layoutFlexItems(FlexOrderIterator&, WTF::Vector<LineContext>&);
void repositionLogicalHeightDependentFlexItems(FlexOrderIterator&, WTF::Vector<LineContext>&, LayoutUnit& oldClientAfterEdge);
float positiveFlexForChild(RenderBox* child) const;