Closed
Bug 326883
Opened 19 years ago
Closed 18 years ago
Get rid of unused nsFormControlFrame methods
Categories
(Core :: Layout: Form Controls, defect)
Core
Layout: Form Controls
Tracking
()
RESOLVED
FIXED
People
(Reporter: sharparrow1, Assigned: sharparrow1)
Details
Attachments
(1 file)
24.96 KB,
patch
|
roc
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
GetDesiredSize, GetWidgetSize, mWidgetSize, GetWidgetInitData, SetClickPoint, mLastClickPoint, GetScrollbarWidth, ControlChanged, and EnterPressed are unused; and probably HandleEvent is unneeded. Also, the class declarations can go, and NS_FORMSIZE_NOTSET, and the includes for nsFormControlHelper.h, nsPresContext.h, nsIWidget.h, nsCOMPtr.h. It seems like this stuff just collects.
Assignee | ||
Comment 1•19 years ago
|
||
The three-argument form of GetDesiredSize is used.
Assignee | ||
Comment 2•18 years ago
|
||
Attachment #211939 -
Flags: review?(roc)
Comment on attachment 211939 [details] [diff] [review] Patch yes, yes it does
Attachment #211939 -
Flags: superreview+
Attachment #211939 -
Flags: review?(roc)
Attachment #211939 -
Flags: review+
Assignee | ||
Comment 4•18 years ago
|
||
Checked in.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Oh, a dream comes true, removing the debug stuff from form controls will probably shrink the files by 1/3. http://lxr.mozilla.org/seamonkey/search?string=REFLOW_DEBUG_MSG most of the reflow messages are anyway covered by the frame reflow debug mechanism (http://www.mozilla.org/newlayout/doc/frame_reflow_debug.html)
You need to log in
before you can comment on or make changes to this bug.
Description
•