Closed Bug 1278925 Opened 4 years ago Closed 4 years ago
COMArray appending with already _Add Refed Append Element
In all of the places touched by this patch, the smart pointer we're appending is about to become unused, so simply .forget()'ing its reference into the appropriate nsCOMArray works just fine.
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/8623823c103f micro-optimize nsCOMArray appending with already_AddRefed AppendElement; r=erahm
You need to log in before you can comment on or make changes to this bug.