|
Oilpan: add transition types to track interface objects.
With Oilpan enabled, make TextTrack, TextTrackCue, VTTCue, TextTrackList,
TextTrackCueList, VTTRegion, VTTRegionList and VTTParser garbage
collected objects.
Along with doing so, the references between these objects are now (strong)
Member references, and not asymmetric RefPtr+raw pointer pairs needed
to break cycles. This means these inter-related objects will live
and die together.
Simpler to reason about, and prevents problematic cases where if a
"child" object (e.g., a text track cue object) is held onto longer
than its parent track object (or its track list), you'd be unable to
keep those "parent" objects alive. The best we can currently do without
Oilpan strong member references is to clear out the raw back pointers
upon destructing the parent. And we still do in the non-Oilpan case.
R=haraken@chromium.org,ager@chromium.org
BUG= 340522
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172365
Total comments: 22
Total comments: 13
Total comments: 12
Total comments: 15
Total comments: 21
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+328 lines, -148 lines) |
Patch |
|
M |
LayoutTests/TestExpectations
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/media/track/tracklist-is-reachable-no-crash.html
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/media/track/tracklist-is-reachable-no-crash-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/v8/Dictionary.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/v8/Dictionary.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLMediaElement.h
|
View
|
1
2
3
4
|
5 chunks |
+14 lines, -12 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLMediaElement.cpp
|
View
|
1
2
3
4
5
6
7
8
|
14 chunks |
+20 lines, -16 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLTrackElement.h
|
View
|
1
2
3
4
5
|
3 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLTrackElement.cpp
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/track/InbandTextTrack.h
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/track/InbandTextTrack.cpp
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+11 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/html/track/LoadableTextTrack.h
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+11 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/html/track/LoadableTextTrack.cpp
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+15 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/html/track/TextTrack.h
|
View
|
1
2
3
|
4 chunks |
+11 lines, -13 lines |
0 comments
|
Download
|
|
M |
Source/core/html/track/TextTrack.cpp
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+17 lines, -8 lines |
0 comments
|
Download
|
|
M |
Source/core/html/track/TextTrack.idl
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/track/TextTrackCue.h
|
View
|
1
2
3
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/html/track/TextTrackCue.cpp
|
View
|
1
2
3
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/track/TextTrackCue.idl
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/track/TextTrackCueList.h
|
View
|
|
2 chunks |
+9 lines, -7 lines |
0 comments
|
Download
|
|
M |
Source/core/html/track/TextTrackCueList.cpp
|
View
|
|
3 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/html/track/TextTrackCueList.idl
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/track/TextTrackList.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+17 lines, -12 lines |
0 comments
|
Download
|
|
M |
Source/core/html/track/TextTrackList.cpp
|
View
|
1
2
3
4
5
6
7
|
9 chunks |
+23 lines, -11 lines |
0 comments
|
Download
|
|
M |
Source/core/html/track/TrackBase.h
|
View
|
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/track/TrackEvent.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/track/vtt/VTTCue.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/html/track/vtt/VTTCue.cpp
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/track/vtt/VTTParser.h
|
View
|
|
5 chunks |
+10 lines, -7 lines |
0 comments
|
Download
|
|
M |
Source/core/html/track/vtt/VTTParser.cpp
|
View
|
|
4 chunks |
+12 lines, -7 lines |
0 comments
|
Download
|
|
M |
Source/core/html/track/vtt/VTTRegion.h
|
View
|
|
4 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/html/track/vtt/VTTRegion.cpp
|
View
|
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/track/vtt/VTTRegion.idl
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/track/vtt/VTTRegionList.h
|
View
|
1
2
|
1 chunk |
+7 lines, -8 lines |
0 comments
|
Download
|
|
M |
Source/core/html/track/vtt/VTTRegionList.cpp
|
View
|
1
2
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/html/track/vtt/VTTRegionList.idl
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/loader/TextTrackLoader.h
|
View
|
1
|
4 chunks |
+11 lines, -7 lines |
0 comments
|
Download
|
|
M |
Source/core/loader/TextTrackLoader.cpp
|
View
|
1
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
Total messages: 34 (0 generated)
|