Closed Bug 581325 Opened 16 years ago Closed 16 years ago

Undo bug 355221 - no need to use nsCOMPtr

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: smaug, Assigned: smaug)

References

(Blocks 1 open bug)

Details

Attachments

(2 files, 1 obsolete file)

Attached patch patch (obsolete) — — Splinter Review
As far as I see, nsCOMPtr isn't needed anymore. And it shows up in the profiles.
Attachment #459781 - Flags: review?(bzbarsky)
Attached patch patch — — Splinter Review
Assignee: nobody → Olli.Pettay
Attachment #459781 - Attachment is obsolete: true
Attachment #459783 - Flags: review?(bzbarsky)
Attachment #459781 - Flags: review?(bzbarsky)
Comment on attachment 459783 [details] [diff] [review] patch Hmm. Are we very very sure this is safe? If it is (which I think is the case), and if as I suspect that entire comment about xul template stuff is bunk, then how about removing that comment and the 'i' variable and doing this: for (nsIContent* child = GetFirstChild(); child; child = child->GetNextSibling()) { // do stuff here } r=me with that change.
Attachment #459783 - Flags: review?(bzbarsky) → review+
Attached patch patch — — Splinter Review
Attachment #460538 - Flags: approval2.0?
Comment on attachment 460538 [details] [diff] [review] patch on IRC, bsmedberg: a=me
Attachment #460538 - Flags: approval2.0?
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: