Bug 1160784 - Remove a misleading declaration r=smontagu

This commit is contained in:
Sylvestre Ledru 2015-05-03 17:49:37 +02:00
parent e49076a042
commit 9f25cd5d7e

View File

@ -3148,11 +3148,6 @@ nsBlockFrame::ReflowBlockFrame(nsBlockReflowState& aState,
nscoord curBCoord = aState.mBCoord + aState.mPrevBEndMargin.get();
nscoord clearBCoord = aState.ClearFloats(curBCoord, breakType, replacedBlock);
if (clearBCoord != curBCoord) {
// Looks like that assumption was invalid, we do need
// clearance. Tell our ancestor so it can reflow again. It is
// responsible for actually setting our clearance flag before
// the next reflow.
treatWithClearance = true;
// Only record the first frame that requires clearance
if (!*aState.mReflowState.mDiscoveredClearance) {
*aState.mReflowState.mDiscoveredClearance = frame;