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)
Attachment #8398492 - Flags: review?(continuation) → review+
Assignee: nobody → bjacob
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
You need to log in before you can comment on or make changes to this bug.