Remove weak reference to TabChild in CompositorChild

NEW
Assigned to

Status

()

4 years ago
4 years ago

People

(Reporter: handyman, Assigned: handyman)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

4 years ago
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.
(Assignee)

Comment 1

4 years ago
Created attachment 8486745 [details] [diff] [review]
Remove weak reference to TabChild in CompositorChild

Changes the weak-reference to a pointer since we know that it's only ever set for live actors (ever since bug 1060620).
(Assignee)

Comment 2

4 years ago
You need to log in before you can comment on or make changes to this bug.