mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 941916 followup: Drop another unused param "aFlexContainerFrame" from SingleLineCrossAxisPositionTracker constructor. r=trivial (essentially the same as previous patch)
This commit is contained in:
parent
0b1ada6433
commit
1b17268086
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user