Closed Bug 13135 Opened 21 years ago Closed 21 years ago

unused code in the method ResizeReflowPass2

Categories

(Core :: Layout: Tables, defect, P3)

x86
Windows 95
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: rbs, Assigned: karnaze)

References

()

Details

(Whiteboard: 9/30: Pending verification from assigned engineer or reporter)

numKids is computed through a function call but is not used:

NS_METHOD nsTableFrame::ResizeReflowPass2(...)
...
  // Did we successfully reflow our mapped children?
  if (NS_FRAME_COMPLETE == aStatus) {
    // Any space left?
    PRInt32 numKids;
    mContent->ChildCount(numKids);  <<------ here -------
    if (state.availSize.height > 0) {
      // Try and pull-up some children from a next-in-flow
      rv = PullUpChildren(aPresContext, aDesiredSize, state, aStatus);
    }
  }
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
I'm marking this fixed, but won't check it in until the tree goes green.
Whiteboard: 9/30: Pending verification from assigned engineer or reporter
karnaze@netscape.com or rbs@maths.uq.edu.au:

Please mark this VERIFIED. There is insufficient information for me to do so.
Thanks
Status: RESOLVED → VERIFIED
Fix was checked in. Marking bug as verified.
You need to log in before you can comment on or make changes to this bug.