Closed Bug 1065103 Opened 10 years ago Closed 24 days ago

Remove weak reference to TabChild in CompositorChild

Categories

(Core :: Graphics: Layers, defect)

x86
macOS
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: handyman, Assigned: handyman)

Details

Attachments

(1 file)

Bug 1060620 fixes the removal of TabChilds from the Compositor when the actor is destroyed.  The Compositor still holds a weak reference to the TabChild for MozAfterRemotePaint-handling but this is overkill as the reference is already tied to the lifetime of the object (actually, the lifetime of the actor, which is shorter).  The compositor's reference is cleared in TabChild::ActorDestroy.
Changes the weak-reference to a pointer since we know that it's only ever set for live actors (ever since bug 1060620).
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 24 days ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: