Closed
Bug 241151
Opened 21 years ago
Closed 21 years ago
Get rid of nsSpringFrame
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
People
(Reporter: neil, Assigned: neil)
Details
Attachments
(1 file, 1 obsolete file)
8.29 KB,
patch
|
roc
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
In release builds, nsSpringFrame overrides one method on nsLeafBoxFrame. The
code for that method matches that on nsLeafBoxFrame.
In debug builds, nsSpringFrame overrides a second method on nsLeafBoxFrame
although that method is never called, as NS_NewLeafBoxFrame is not used.
nsLeafBoxFrame is the base class for a bunch of other frame classes as well. If
you want to remove one it should be nsSpringFrame.
That said, GetFrameName is virtual and is used in debugging code, but probably
not all that important.
Summary: Get rid of either nsLeafBoxFrame or nsSpringFrame → Get rid of nsSpringFrame
Assignee | ||
Comment 2•21 years ago
|
||
The GetFrameName issue is just that anybody who uses it needs to know that
<xul:spacer> now returns LeafBoxFrame instead of SpringFrame.
Assignee: nobody → neil.parkwaycc.co.uk
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•21 years ago
|
||
Attachment #146676 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #146683 -
Flags: superreview?(roc)
Attachment #146683 -
Flags: review?(roc)
Comment on attachment 146683 [details] [diff] [review]
Forgot to diff Makefile.in
if only all reviews were this easy.
Attachment #146683 -
Flags: superreview?(roc)
Attachment #146683 -
Flags: superreview+
Attachment #146683 -
Flags: review?(roc)
Attachment #146683 -
Flags: review+
Assignee | ||
Comment 5•21 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Product: Core → Core Graveyard
Updated•7 years ago
|
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.
Description
•