зеркало из https://github.com/mozilla/gecko-dev.git
Bug 451791 patch 1 - Remove write-only nsHTMLReflowState::mFlags::mHasClearance. r=roc
This was introduced in bug 209694 (gecko-dev13a65028
) but became unused through bug 292295 (gecko-dev4593df2a57
) and bug 300030 (gecko-dev31f18988
). --HG-- extra : commitid : 1YUuWOKeInm
This commit is contained in:
Родитель
d032d87d0f
Коммит
8c08fc4385
|
@ -3313,7 +3313,6 @@ nsBlockFrame::ReflowBlockFrame(nsBlockReflowState& aState,
|
|||
nsHTMLReflowState
|
||||
blockHtmlRS(aState.mPresContext, aState.mReflowState, frame,
|
||||
availSpace.Size(wm).ConvertTo(frame->GetWritingMode(), wm));
|
||||
blockHtmlRS.mFlags.mHasClearance = aLine->HasClearance();
|
||||
|
||||
nsFloatManager::SavedState floatManagerState;
|
||||
nsReflowStatus frameReflowStatus;
|
||||
|
|
|
@ -217,7 +217,6 @@ nsHTMLReflowState::nsHTMLReflowState(
|
|||
mFlags.mNextInFlowUntouched = aParentReflowState.mFlags.mNextInFlowUntouched &&
|
||||
CheckNextInFlowParenthood(aFrame, aParentReflowState.frame);
|
||||
mFlags.mAssumingHScrollbar = mFlags.mAssumingVScrollbar = false;
|
||||
mFlags.mHasClearance = false;
|
||||
mFlags.mIsColumnBalancing = false;
|
||||
mFlags.mIsFlexContainerMeasuringHeight = false;
|
||||
mFlags.mDummyParentReflowState = false;
|
||||
|
|
|
@ -553,7 +553,6 @@ public:
|
|||
// page? When true, we force something
|
||||
// that's too tall for a page/column to
|
||||
// fit anyway to avoid infinite loops.
|
||||
uint16_t mHasClearance:1; // Block has clearance
|
||||
uint16_t mAssumingHScrollbar:1; // parent frame is an nsIScrollableFrame and it
|
||||
// is assuming a horizontal scrollbar
|
||||
uint16_t mAssumingVScrollbar:1; // parent frame is an nsIScrollableFrame and it
|
||||
|
|
Загрузка…
Ссылка в новой задаче