Closed
Bug 906272
Opened 12 years ago
Closed 12 years ago
Something is not right with the cycle collection of nsScreen
Categories
(Core :: DOM: Device Interfaces, defect)
Core
DOM: Device Interfaces
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: mccr8, Assigned: mccr8)
References
Details
Attachments
(1 file)
|
1.13 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
nsScreen.h has this:
107 NS_DECL_CYCLE_COLLECTION_CLASS_INHERITED(nsScreen,
108 nsDOMEventTargetHelper)
...but then doesn't declare anything else related to the cycle collector, like Traverse or Unlink methods, nor does it QI correctly to its undefined participant.
I'm not sure what the right thing to do is here. It has an nsRefPtr<FullScreenEventListener>, which is a locally defined subclass of nsIDOMEventListener. Does the CC need to be told about that field? If yes, CC definitions need to be added. If not, the CC declaration can be removed.
(In reply to Andrew McCreight [:mccr8] from comment #0)
> Does the CC need to be told about that field?
FullScreenEventListener doesn't hold refs to anything so no, it doesn't look like it does.
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → continuation
| Assignee | ||
Comment 2•12 years ago
|
||
| Assignee | ||
Updated•12 years ago
|
Attachment #792259 -
Flags: review?(khuey)
Attachment #792259 -
Flags: review?(khuey) → review+
| Assignee | ||
Comment 3•12 years ago
|
||
| Assignee | ||
Comment 4•12 years ago
|
||
Comment 5•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in
before you can comment on or make changes to this bug.
Description
•