unused code in the method ResizeReflowPass2

VERIFIED FIXED

Status

()

Core
Layout: Tables
P3
normal
VERIFIED FIXED
19 years ago
19 years ago

People

(Reporter: rbs, Assigned: karnaze (gone))

Tracking

Trunk
x86
Windows 95
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

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

(Reporter)

Description

19 years ago
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);
    }
  }
(Assignee)

Updated

19 years ago
Status: NEW → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED
(Assignee)

Comment 1

19 years ago
I'm marking this fixed, but won't check it in until the tree goes green.

Updated

19 years ago
Whiteboard: 9/30: Pending verification from assigned engineer or reporter

Comment 2

19 years ago
karnaze@netscape.com or rbs@maths.uq.edu.au:

Please mark this VERIFIED. There is insufficient information for me to do so.
Thanks
(Reporter)

Updated

19 years ago
Status: RESOLVED → VERIFIED
(Reporter)

Comment 3

19 years ago
Fix was checked in. Marking bug as verified.
You need to log in before you can comment on or make changes to this bug.