Closed
Bug 643000
Opened 13 years ago
Closed 12 years ago
convert nsStateMapEntry from a class to a struct
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: tbsaunde, Assigned: tbsaunde)
Details
Attachments
(1 file)
12.79 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0b13pre) Gecko/20110318 Firefox/4.0b13pre Build Identifier: It doesn't make much sense for nsStateMapEntry to be a class, it only has one method which is static, and doesn't really feel like it belongs there. The only place we create state map entry objects is in a static array. It would be a lot nicer to conver nsStateMapEntry to a struct and then statically initialize the structs than the current use of a few similar constructors that are hard to distinguish, but fairly different in effect. Reproducible: Always
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → trev.saunders
Assignee | ||
Comment 1•13 years ago
|
||
Attachment #520324 -
Flags: review?(surkov.alexander)
Comment 2•13 years ago
|
||
Comment on attachment 520324 [details] [diff] [review] (wip) convert nsStateMapEntry from a class to a struct I'm still not sure it makes things clearer. Frankly I don't have suggestions to make it in a way I like.
Attachment #520324 -
Flags: feedback?
Comment 3•13 years ago
|
||
Guys, you're feedback is appreciated.
Comment 4•13 years ago
|
||
Comment on attachment 520324 [details] [diff] [review] (wip) convert nsStateMapEntry from a class to a struct cancelling review until feedback from other team members
Attachment #520324 -
Flags: review?(surkov.alexander)
Comment 5•12 years ago
|
||
wontfix since we take different approach in bug 741398
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Updated•12 years ago
|
Attachment #520324 -
Flags: feedback?
You need to log in
before you can comment on or make changes to this bug.
Description
•