Closed Bug 1397056 Opened 7 years ago Closed 7 years ago

Add some new functions to SmallPointerArray

Categories

(Core :: MFBT, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: mattwoodrow, Assigned: mattwoodrow)

References

Details

Attachments

(1 file)

Just expanding the API a bit, since I needed to use SmallPointerArray more extensively with the retained-dl changes.
Attachment #8904766 - Flags: review?(nfroyd)
Assignee: nobody → matt.woodrow
Attachment #8904766 - Attachment is patch: true
Comment on attachment 8904766 [details] [diff] [review]
small-pointer-array

Review of attachment 8904766 [details] [diff] [review]:
-----------------------------------------------------------------

These changes look fine.  Some tests for said changes would be splendid.
Attachment #8904766 - Flags: review?(nfroyd) → review+
Pushed by mwoodrow@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/371a03aa9b24
Add Contains and a return parameter to Remove for SmallPointerArray. r=froydnj
Pushed by mwoodrow@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/04077d71603e
Add Contains and a return parameter to Remove for SmallPointerArray. r=froydnj
https://hg.mozilla.org/mozilla-central/rev/04077d71603e
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.