This is used in very limited ways, so just require that callers pass in canonical nsISupports objects, and the participant.
I split this off from bug 1385459 to reduce the risk of backporting that bug if want end up wanting to do that. I expect the perf gains here to be minor, as this is only used during the CC proper.
Comment on attachment 8891666 [details] Bug 1385474 - Avoid QIing for NoteXPCOMRoot. https://reviewboard.mozilla.org/r/162742/#review168466
Attachment #8891666 - Flags: review?(bugs) → review+
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/8d09df72c2e9 Avoid QIing for NoteXPCOMRoot. r=smaug
You need to log in before you can comment on or make changes to this bug.