Closed Bug 231157 Opened 21 years ago Closed 21 years ago

deCOMtaminate nsCSSFrameConstructor

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bryner, Assigned: bryner)

Details

(Keywords: perf)

Attachments

(1 file)

nsCSSFrameConstructor doesn't really need to have an XPCOM interface.  There's
exactly 1 place where it's currently used from outside layout, and that's easily
solved by making an existing PresShell method public.
Attached patch patchSplinter Review
- Remove nsIStyleFrameConstruction and nsICSSFrameConstructor, changed
nsCSSFrameConstructor methods to non-virtual.  Made some of the methods
protected that didn't need to be public.
- Put ReconstructFrames onto nsIPresShell.
- Move StyleSet destruction to PresShell dtor, in an attempt to not regress bug
100270 (I don't believe any layout objects are held onto by the
FrameConstructor, so it shouldn't matter when it's destroyed)
- Cleaned up the xbl form prefs so that we only check once, not every time a
frame constructer is created.
Attachment #139211 - Flags: superreview?(dbaron)
Attachment #139211 - Flags: review?(dbaron)
Comment on attachment 139211 [details] [diff] [review]
patch

You'll have a little merging to do (|RestyleElement| was added, and it should
be listed in the header near RestyleLaterSiblings (so it's protected)).
Attachment #139211 - Flags: superreview?(dbaron)
Attachment #139211 - Flags: superreview+
Attachment #139211 - Flags: review?(dbaron)
Attachment #139211 - Flags: review+
checked in.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
Component: Layout: Misc Code → Layout
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: