Closed
Bug 624722
Opened 14 years ago
Closed 14 years ago
nsBidiPresUtils should participate in CC
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla2.0b10
Tracking | Status | |
---|---|---|
blocking2.0 | --- | final+ |
People
(Reporter: peterv, Assigned: peterv)
References
Details
(Keywords: memory-leak)
Attachments
(1 file)
5.55 KB,
patch
|
ehsan.akhgari
:
review+
roc
:
approval2.0+
|
Details | Diff | Splinter Review |
It holds strong refs to nodes, and is owned by the nsPresContext which already participates.
Assignee | ||
Comment 1•14 years ago
|
||
Attachment #502796 -
Flags: review?(ehsan)
Assignee | ||
Comment 2•14 years ago
|
||
Leak fix that blocks a blocker should probably block.
blocking2.0: --- → ?
Comment 3•14 years ago
|
||
Comment on attachment 502796 [details] [diff] [review]
v1
Looks great!
Attachment #502796 -
Flags: review?(ehsan)
Attachment #502796 -
Flags: review+
Attachment #502796 -
Flags: approval2.0?
Attachment #502796 -
Flags: approval2.0? → approval2.0+
This is OK. However, keeping state in nsBidiPresUtils is actually a bug. That state is local to each API call and should go away completely between calls, in which case there is no need for CC here.
Also, mContentToFrameIndex doesn't need to hold strong refs to content, as far as I can tell.
Comment 5•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b10
Comment 6•14 years ago
|
||
(In reply to comment #4)
> This is OK. However, keeping state in nsBidiPresUtils is actually a bug. That
> state is local to each API call and should go away completely between calls, in
> which case there is no need for CC here.
>
> Also, mContentToFrameIndex doesn't need to hold strong refs to content, as far
> as I can tell.
I filed bug 624798 on this.
Comment 7•14 years ago
|
||
Thank you than you thank you!!
This patch indeed looks to be solving our leaks for both bug 567029 and bug 587503!
Updated•14 years ago
|
blocking2.0: ? → ---
Updated•14 years ago
|
blocking2.0: --- → ?
blocking2.0: ? → final+
You need to log in
before you can comment on or make changes to this bug.
Description
•