Complete switch away from nsBlockReflowState::mAvailSpaceRect by removing the old members. (Bug 25888) r+sr=roc

This commit is contained in:
L. David Baron 2009-04-08 13:52:37 -07:00
parent 8db07256cc
commit f63606188b
2 changed files with 0 additions and 28 deletions

View File

@ -522,17 +522,6 @@ nsBlockReflowState::RecoverStateFrom(nsLineList::iterator aLine,
}
}
PRBool
nsBlockReflowState::IsImpactedByFloat() const
{
#ifdef REALLY_NOISY_REFLOW
printf("nsBlockReflowState::IsImpactedByFloat %p returned %d\n",
this, mBandHasFloats);
#endif
return mBandHasFloats;
}
PRBool
nsBlockReflowState::InitFloat(nsLineLayout& aLineLayout,
nsPlaceholderFrame* aPlaceholder,

View File

@ -101,12 +101,6 @@ public:
PRBool aRelaxHeightConstraint,
nsFloatManager::SavedState *aState,
nsRect& aResult) const;
/* FIXME: To be removed */
void GetAvailableSpace() { GetAvailableSpace(mY, PR_FALSE); }
void GetAvailableSpace(nscoord aY, PRBool aRelaxHeightConstraint) {
mBandHasFloats =
GetFloatAvailableSpace(aY, aRelaxHeightConstraint, mAvailSpaceRect);
}
/*
* The following functions all return PR_TRUE if they were able to
@ -197,8 +191,6 @@ public:
}
}
PRBool IsImpactedByFloat() const;
nsLineBox* NewLineBox(nsIFrame* aFrame, PRInt32 aCount, PRBool aIsBlock);
void FreeLineBox(nsLineBox* aLine);
@ -272,10 +264,6 @@ public:
// The current Y coordinate in the block
nscoord mY;
// The available space within the current band.
// (relative to the *content*-rect of the block)
nsRect mAvailSpaceRect;
// The combined area of all floats placed so far
nsRect mFloatCombinedArea;
@ -318,11 +306,6 @@ public:
PRUint8 mFloatBreakType;
// The number of floats on the sides of mAvailSpaceRect, including
// floats that do not reduce mAvailSpaceRect because they are in the
// margins.
PRPackedBool mBandHasFloats;
void SetFlag(PRUint32 aFlag, PRBool aValue)
{
NS_ASSERTION(aFlag<=BRS_LASTFLAG, "bad flag");