DescriptionMake ScreenOrientationController a FrameDestructionObserver.
With LocalFrame now on the heap, switch this controller to be a frame
destruction observer so as to conventionally handle tracing of the
frame during GCs, and eventual frame detach.
This is a tidying change; what's currently provided isn't unsafe, as
the controller is also a page lifecycle observer and uses the lack of
a page to detect detached operation. But it is preferable overall
to handle frame access and lifetime using FrameDestructionObserver.
R=haraken,mlamouri
BUG=340522
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182497
Patch Set 1 #
Total comments: 2
Patch Set 2 : Rename predicate to isActiveAndVisible() #
Messages
Total messages: 12 (3 generated)
|