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)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
People
(Reporter: smaug, Assigned: smaug)
References
(Blocks 1 open bug)
Details
Attachments
(2 files, 1 obsolete file)
|
1.03 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
|
1.10 KB,
patch
|
Details | Diff | Splinter Review |
As far as I see, nsCOMPtr isn't needed anymore. And it shows up in the profiles.
Attachment #459781 -
Flags: review?(bzbarsky)
| Assignee | ||
Comment 1•16 years ago
|
||
Assignee: nobody → Olli.Pettay
Attachment #459781 -
Attachment is obsolete: true
Attachment #459783 -
Flags: review?(bzbarsky)
Attachment #459781 -
Flags: review?(bzbarsky)
Comment 2•16 years ago
|
||
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+
| Assignee | ||
Comment 3•16 years ago
|
||
| Assignee | ||
Updated•16 years ago
|
Attachment #460538 -
Flags: approval2.0?
| Assignee | ||
Comment 4•16 years ago
|
||
Comment on attachment 460538 [details] [diff] [review]
patch
on IRC, bsmedberg: a=me
Attachment #460538 -
Flags: approval2.0?
| Assignee | ||
Comment 5•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•