|
Make text track and cue wrapper objects dependent on their media element.
If a TextTrack or VTTCue (TextTrackCue) object is added to a media
element, indirectly by way of addCue() or addTextTrack(), arrange for
their wrapper objects to be registered as dependents of the media
element's wrapper so as to keep these wrapper objects alive.
This is done so that when we later need to return back a wrapper
for the underlying track/cue object, the same wrapper object is returned.
R=acolwell@chromium.org
BUG= 358109
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172065
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+118 lines, -5 lines) |
Patch |
|
M |
LayoutTests/media/track/text-track-cue-is-reachable-expected.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/media/track/text-track-is-reachable-expected.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A |
LayoutTests/media/track/track-cue-gc-wrapper.html
|
View
|
1
2
|
1 chunk |
+63 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/media/track/track-cue-gc-wrapper-expected.txt
|
View
|
|
1 chunk |
+33 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/track/TextTrack.h
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/track/TextTrack.cpp
|
View
|
1
2
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/track/TextTrack.idl
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/track/TextTrackCue.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/track/TextTrackCue.cpp
|
View
|
1
2
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/track/TextTrackCue.idl
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/track/vtt/VTTCue.idl
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|