Bug 451791 patch 1 - Remove write-only nsHTMLReflowState::mFlags::mHasClearance. r=roc

This was introduced in bug 209694 (gecko-dev 13a65028) but became unused
through bug 292295 (gecko-dev 4593df2a57) and bug 300030 (gecko-dev
31f18988).

--HG--
extra : commitid : 1YUuWOKeInm
This commit is contained in:
L. David Baron 2015-08-05 21:04:38 -07:00
Родитель d032d87d0f
Коммит 8c08fc4385
3 изменённых файлов: 0 добавлений и 3 удалений

Просмотреть файл

@ -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