зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1174003 part 1: [css-flexbox] Remove unused method nsFlexContainerFrame::IsHorizontal. r=mats
MozReview-Commit-ID: JzvGzJvMhLS --HG-- extra : rebase_source : 08916cb0fa201f036d69de41f7a3f760a6c081d9
This commit is contained in:
Родитель
061d5897a0
Коммит
375dc5dc6e
|
@ -1202,13 +1202,6 @@ nsFlexContainerFrame::CSSAlignmentForAbsPosChild(
|
|||
return alignment;
|
||||
}
|
||||
|
||||
bool
|
||||
nsFlexContainerFrame::IsHorizontal()
|
||||
{
|
||||
const FlexboxAxisTracker axisTracker(this, GetWritingMode());
|
||||
return axisTracker.IsMainAxisHorizontal();
|
||||
}
|
||||
|
||||
UniquePtr<FlexItem>
|
||||
nsFlexContainerFrame::GenerateFlexItemForChild(
|
||||
nsPresContext* aPresContext,
|
||||
|
|
|
@ -153,9 +153,6 @@ public:
|
|||
const ReflowInput& aChildRI,
|
||||
mozilla::LogicalAxis aLogicalAxis) const override;
|
||||
|
||||
// Flexbox-specific public methods
|
||||
bool IsHorizontal();
|
||||
|
||||
/**
|
||||
* Helper function to calculate packing space and initial offset of alignment
|
||||
* subjects in MainAxisPositionTracker() and CrossAxisPositionTracker() for
|
||||
|
|
Загрузка…
Ссылка в новой задаче