DescriptionOilpan: have the media element safely close its MediaSource.
The media element must notify its attached MediaSource upon being
finalized, as the MediaSource must then transition to a closed state
and fire the corresponding event. Hence, upon media element finalization,
it will conditionally notify its MediaSource (if any) object if the
latter survived the GC. If neither survived, an explicit close isn't
needed.
With that in place, the media element no longer keeps a RefPtr to its
MediaSource (with Oilpan enabled.) Consequently, ref-forwarding over
HTMLMediaSource is no longer needed nor supported.
R=haraken@chromium.org
BUG=340522
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177532
Patch Set 1 #Patch Set 2 : Style tidying #
Total comments: 10
Patch Set 3 : Tweak assert availability + no need for extra finalization of SourceBuffer #
Total comments: 2
Patch Set 4 : Tidy clearing of m_attachedElement #
Messages
Total messages: 13 (0 generated)
|