Bug 941916 followup: Drop another unused param "aFlexContainerFrame" from SingleLineCrossAxisPositionTracker constructor. r=trivial (essentially the same as previous patch)

This commit is contained in:
Daniel Holbert 2013-11-23 11:07:33 -08:00
parent 0b1ada6433
commit 1b17268086

View File

@ -1094,8 +1094,7 @@ public:
// single flex line.
class MOZ_STACK_CLASS SingleLineCrossAxisPositionTracker : public PositionTracker {
public:
SingleLineCrossAxisPositionTracker(nsFlexContainerFrame* aFlexContainerFrame,
const FlexboxAxisTracker& aAxisTracker);
SingleLineCrossAxisPositionTracker(const FlexboxAxisTracker& aAxisTracker);
void ComputeLineCrossSize(const nsTArray<FlexItem>& aItems);
inline nscoord GetLineCrossSize() const { return mLineCrossSize; }
@ -1680,8 +1679,7 @@ MainAxisPositionTracker::TraversePackingSpace()
}
SingleLineCrossAxisPositionTracker::
SingleLineCrossAxisPositionTracker(nsFlexContainerFrame* aFlexContainerFrame,
const FlexboxAxisTracker& aAxisTracker)
SingleLineCrossAxisPositionTracker(const FlexboxAxisTracker& aAxisTracker)
: PositionTracker(aAxisTracker.GetCrossAxis()),
mLineCrossSize(0),
mCrossStartToFurthestBaseline(nscoord_MIN) // Starts at -infinity, and then
@ -2369,8 +2367,7 @@ nsFlexContainerFrame::Reflow(nsPresContext* aPresContext,
// Set up state for cross-axis-positioning of children _within_ a single
// flex line.
SingleLineCrossAxisPositionTracker
lineCrossAxisPosnTracker(this, axisTracker);
SingleLineCrossAxisPositionTracker lineCrossAxisPosnTracker(axisTracker);
lineCrossAxisPosnTracker.ComputeLineCrossSize(items);
// XXXdholbert Once we've got multi-line flexbox support: here, after we've