Index: Source/core/html/shadow/MediaControlElements.cpp |
diff --git a/Source/core/html/shadow/MediaControlElements.cpp b/Source/core/html/shadow/MediaControlElements.cpp |
index c9e4573375d568b0a7b1db700132ae26b737da41..41e5c19557f92f8fb2f43fee1bc33e6037a23658 100644 |
--- a/Source/core/html/shadow/MediaControlElements.cpp |
+++ b/Source/core/html/shadow/MediaControlElements.cpp |
@@ -40,7 +40,9 @@ |
#include "core/html/MediaController.h" |
#include "core/html/TimeRanges.h" |
#include "core/html/shadow/MediaControls.h" |
+#include "core/html/track/CueTimeline.h" |
#include "core/html/track/TextTrack.h" |
+#include "core/html/track/TextTrackCue.h" |
#include "core/html/track/vtt/VTTRegionList.h" |
#include "core/layout/LayoutSlider.h" |
#include "core/layout/LayoutTheme.h" |
@@ -659,7 +661,7 @@ void MediaControlTextTrackContainerElement::updateDisplay() |
// 7. Let cues be an empty list of text track cues. |
// 8. For each track track in tracks, append to cues all the cues from |
// track's list of cues that have their text track cue active flag set. |
- CueList activeCues = video.currentlyActiveCues(); |
+ CueList activeCues = video.cueTimeline().currentlyActiveCues(); |
// 9. If reset is false, then, for each text track cue cue in cues: if cue's |
// text track cue display state has a set of CSS boxes, then add those boxes |