Closed Bug 825278 Opened 7 years ago Closed 7 years ago

don't use nsISupportsArray for m_listeners

Categories

(Core :: Printing: Setup, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla20

People

(Reporter: tbsaunde, Assigned: tbsaunde)

References

Details

Attachments

(1 file)

No description provided.
Instead of this:
  uint32_t count = m_listenerList.Count();
  for (uint32_t i = count - 1; i < count; i --)

I would prefer:
  uint32_t i = m_listenerList.Count();
  while (i--)
https://hg.mozilla.org/mozilla-central/rev/33b8ce28ce5c
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
You need to log in before you can comment on or make changes to this bug.