Closed Bug 1645450 Opened 5 years ago Closed 5 years ago

Do not search for current element in nsTObserverArray loops to remove the current element

Categories

(Core :: XPCOM, task)

task

Tracking

()

RESOLVED FIXED

People

(Reporter: sg, Assigned: sg)

References

Details

Attachments

(4 files)

... rather, the iterator's Remove member function can be used.

Assignee: nobody → sgiesecke
Status: NEW → ASSIGNED
Keywords: leave-open
Pushed by sgiesecke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/20d28014ebc6 Remove elements by index rather than searching in docshell. r=nika https://hg.mozilla.org/integration/autoland/rev/5790089fdc1d Remove elements by index rather than searching in dom/audiochannel. r=baku https://hg.mozilla.org/integration/autoland/rev/409f7c1ab3f3 Remove elements by index rather than searching in dom/base. r=mccr8
Pushed by sgiesecke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b40733a67099 Use ForwardIterator::Remove in dom/debugger. r=loganfsmyth
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Keywords: leave-open
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: