DescriptionOilpan: have media element prefinalizer handle all finalization.
It is unsafe to access a to-be-finalized object, which is a
possibility for media elements with lazy sweeping enabled.
The access in that case being made by the embedder media
player updating and notifying the media element.
Prevent that from happening by promptly/eagerly releasing
the player object.
With prefinalizers now being able to allocate, extend r197339 and
finalize the media player and perform the other Oilpan finalization
steps during media element prefinalization.
R=haraken
BUG=502863
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197628
Patch Set 1 #
Total comments: 3
Patch Set 2 : move conditional closing of MediaSource to media elt prefinalizer #
Messages
Total messages: 16 (3 generated)
|