Closed
Bug 422637
Opened 17 years ago
Closed 16 years ago
Merge nsColorNames into nsColor to have fewer public functions and less code
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
VERIFIED
FIXED
mozilla1.9.1b2
People
(Reporter: alfredkayser, Assigned: alfredkayser)
References
Details
(Keywords: memory-footprint, verified1.9.1)
Attachments
(1 file, 1 obsolete file)
15.66 KB,
patch
|
vlad
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
merge nsColor and nsColorName
nsColor is only user of nsLookupName of nsColorName
GetStringValue is nowhere used.
kColors public member of nsColorName is only used in nsColor (and TestColorNames...)
The only real function of nsColorName is used by NS_ColorNameToRGB from nsColor, so instead of exposing nsColorName as a separate class, embed it into nsColor.
This results in less code, saving about 2K from gkgfx.lib (and about 22K objectsize).
Attachment #309098 -
Flags: review?(vladimir)
Updated•17 years ago
|
Version: unspecified → Trunk
Assignee | ||
Comment 1•16 years ago
|
||
Attachment #309098 -
Attachment is obsolete: true
Attachment #309098 -
Flags: review?(vladimir)
Assignee | ||
Updated•16 years ago
|
Attachment #337057 -
Flags: review?(vladimir)
Assignee | ||
Comment 2•16 years ago
|
||
Comment on attachment 337057 [details] [diff] [review]
V2: Updated to current trunk
Changed the patch so that no change to layout/build is needed anymore, but still with all the code removal in place.
Less=More!
Attachment #337057 -
Flags: review?(vladimir) → review+
Assignee | ||
Updated•16 years ago
|
Attachment #337057 -
Flags: superreview?(roc)
Assignee | ||
Comment 3•16 years ago
|
||
Requesting 'Wanted1.9.1' for a simple and reviewed code saving patch.
Flags: wanted1.9.1?
Please don't abuse the blocking/wanted process to get people to do reviews.
Assignee | ||
Comment 5•16 years ago
|
||
That was not the intention. I thought the wanted flag is needed for checkin into FF3.1?
Attachment #337057 -
Flags: superreview?(roc) → superreview+
Comment 6•16 years ago
|
||
(In reply to comment #5)
> That was not the intention. I thought the wanted flag is needed for checkin
> into FF3.1?
It isn't (at least not yet).
Updated•16 years ago
|
Keywords: checkin-needed
Comment 7•16 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.1b2
Comment 8•16 years ago
|
||
This caused bustage, but it was easy to fix.
http://hg.mozilla.org/mozilla-central/rev/580e62ad39ae
Updated•16 years ago
|
Summary: Merge nsColorNames into nsColor to have less public functions and less code → Merge nsColorNames into nsColor to have fewer public functions and less code
Flags: wanted1.9.1? → wanted1.9.1+
Keywords: fixed1.9.1
Assignee | ||
Updated•16 years ago
|
Status: RESOLVED → VERIFIED
Comment 9•16 years ago
|
||
Seeing as there hasn't been any discussions about this bug for 5 months and it's not really a testable bug, I'm assuming there aren't any residual issues. I'm moving this to verified as a result. If anyone has any qualms, feel free to bring them up.
Keywords: fixed1.9.1 → verified1.9.1
Updated•6 years ago
|
Product: Core → Core Graveyard
Updated•6 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
•