Closed Bug 225911 Opened 22 years ago Closed 22 years ago

simplify nsHTMLReflowState::DetermineFrameType

Categories

(Core :: Layout: Block and Inline, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dbaron, Assigned: dbaron)

Details

Attachments

(1 file)

nsHTMLReflowState::DetermineFrameType should really be InitFrameType, and there only needs to be one version of it.
Attachment #135677 - Flags: superreview?(bz-vacation)
Attachment #135677 - Flags: review?(bz-vacation)
Comment on attachment 135677 [details] [diff] [review] patch r+sr=bzbarsky, but why do we need the |disp| local var? Just for readability? Either way (with direct access to mStyleDisplay or with disp) is fine with me.
Attachment #135677 - Flags: superreview?(bz-vacation)
Attachment #135677 - Flags: superreview+
Attachment #135677 - Flags: review?(bz-vacation)
Attachment #135677 - Flags: review+
I left it as-is since it means the compiler doesn't have to reload the member variable each time. Fix checked into trunk, 2003-11-16 16:35 -0800.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: