Closed Bug 1409960 Opened 2 years ago Closed 2 years ago

Remove ClassInfoData

Categories

(Core :: Security: CAPS, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla58
Tracking Status
firefox58 --- fixed

People

(Reporter: njn, Assigned: njn)

Details

Attachments

(1 file)

This class does some caching of an nsIClassInfo's flags and name. Presumably it
made sense at some time in the past, but now it's only used by
CanCreateWrapper(). It's simpler to just directly get the flags and name when
needed, so this patch does that and removes the class.
Attachment #8919994 - Flags: review?(bzbarsky)
Comment on attachment 8919994 [details] [diff] [review]
Remove ClassInfoData

r=me
Attachment #8919994 - Flags: review?(bzbarsky) → review+
https://hg.mozilla.org/mozilla-central/rev/3b3a3a585d0d
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
You need to log in before you can comment on or make changes to this bug.