Closed
Bug 989320
Opened 11 years ago
Closed 11 years ago
Add cycle collection support for MFBT EnumeratedArray
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla31
People
(Reporter: bjacob, Assigned: bjacob)
References
Details
Attachments
(1 file)
2.47 KB,
patch
|
mccr8
:
review+
|
Details | Diff | Splinter Review |
EnumeratedArray is a new MFBT class for plain static arrays indexed by a typed enum, that is being added in bug 989123.
In the WebGL implementation, I have an array of pointers, WebGLContext::mExtensions, that is cycle-collected, and that I want to convert to be an EnumeratedArray. For that, I need to add cycle collection support for EnumeratedArray. I could keep it local to content/canvas for now, but since it's so unintrusive and simple, I thought we might as well put it right away in xpcom/glue where other code converting to EnumeratedArray will be able to find it.
Attachment #8398492 -
Flags: review?(continuation)
Updated•11 years ago
|
Attachment #8398492 -
Flags: review?(continuation) → review+
Assignee | ||
Comment 1•11 years ago
|
||
Assignee: nobody → bjacob
Comment 2•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
You need to log in
before you can comment on or make changes to this bug.
Description
•