Closed
Bug 321294
Opened 20 years ago
Closed 20 years ago
ReplaceFrame codepaths seems unused
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
People
(Reporter: sicking, Unassigned)
References
()
Details
Attachments
(1 file)
|
49.63 KB,
patch
|
roc
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
On my new travels into layout code I ran into the ReplaceFrame function and wondered if it might be old remains from when we used to have a separate codepath for ReplaceChild (see bug 237566). Looks like that is largly the case.
The only callers of this function (and DoReplaceFrame) is other implementations of the function and nsMathMLContainerFrame::WrapForeignFrames.
See http://lxr.mozilla.org/mozilla/search?string=replaceframe
Can we switch nsMathMLContainerFrame::WrapForeignFrames to use something else and kill this code?
Yes. WrapForeignFrames() is going to be removed anytime now when I check in the patch that I submitted for bug 309120.
| Reporter | ||
Comment 2•20 years ago
|
||
Awesome! I'll gladly remove ReplaceFrame after that.
WrapForeignFrames() is now gone...
(Since nsMathMLForeignFrameWrapper.cpp/.h are not used anymore, I plan to also cvs-removed them.)
| Reporter | ||
Comment 4•20 years ago
|
||
Attachment #208138 -
Flags: superreview?(bzbarsky)
Attachment #208138 -
Flags: review?(bzbarsky)
Attachment #208138 -
Flags: superreview?(bzbarsky)
Attachment #208138 -
Flags: superreview+
Attachment #208138 -
Flags: review?(bzbarsky)
Attachment #208138 -
Flags: review+
| Reporter | ||
Comment 5•20 years ago
|
||
Checked in, thanks for the quick review
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Feel free to send me reviews if you don't specifically need bz.
| Reporter | ||
Comment 7•20 years ago
|
||
Will do :)
You need to log in
before you can comment on or make changes to this bug.
Description
•