Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Unified Diff: Source/core/html/track/TextTrackCueList.cpp

Issue 960233002: Eliminate calls to TextTrackCue::setIsActive outside of CueTimeline (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/track/TextTrack.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/TextTrackCueList.cpp
diff --git a/Source/core/html/track/TextTrackCueList.cpp b/Source/core/html/track/TextTrackCueList.cpp
index 40052b9b4aef97ea42f7f0571ba537dd3492b12b..4b43f829d78d53879ac56dc4d5b7eca883d226ad 100644
--- a/Source/core/html/track/TextTrackCueList.cpp
+++ b/Source/core/html/track/TextTrackCueList.cpp
@@ -128,9 +128,6 @@ void TextTrackCueList::updateCueIndex(TextTrackCue* cue)
if (!remove(cue))
return;
- cue->setIsActive(false);
- cue->removeDisplayTree();
-
// FIXME: If moving the cue such that its index in list increases, then
// what happens with the cached index on cues in the range [oldIndex,
// newIndex)? (Some of the indices will be "safe", but there'll be a risk
« no previous file with comments | « Source/core/html/track/TextTrack.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698