mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 13:55:43 +00:00
Bug 1160784 - Remove a misleading declaration r=smontagu
This commit is contained in:
parent
e49076a042
commit
9f25cd5d7e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user