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

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

Issue 1022523002: Clean up around text track display state updates (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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 | « no previous file | Source/core/html/track/vtt/VTTCue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/CueTimeline.cpp
diff --git a/Source/core/html/track/CueTimeline.cpp b/Source/core/html/track/CueTimeline.cpp
index 37aa29dd8becab1794d49154b02f3c4f2c645383..5d27c78ea2a530ff0085ad181fa71dbc6607342e 100644
--- a/Source/core/html/track/CueTimeline.cpp
+++ b/Source/core/html/track/CueTimeline.cpp
@@ -330,9 +330,7 @@ void CueTimeline::updateActiveCues(double movieTime)
// Update the current active cues.
m_currentlyActiveCues = currentCues;
-
- if (activeSetChanged)
- mediaElement.updateTextTrackDisplay();
+ mediaElement.updateTextTrackDisplay();
}
void CueTimeline::beginIgnoringUpdateRequests()
« no previous file with comments | « no previous file | Source/core/html/track/vtt/VTTCue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698