diff --git a/dom/html/TextTrackManager.cpp b/dom/html/TextTrackManager.cpp index cc137498cb10..d4abb3a33238 100644 --- a/dom/html/TextTrackManager.cpp +++ b/dom/html/TextTrackManager.cpp @@ -295,10 +295,7 @@ void TextTrackManager::NotifyCueRemoved(TextTrackCue& aCue) { mNewCues->RemoveCue(aCue); } TimeMarchesOn(); - if (aCue.GetActive()) { - // We remove an active cue, need to update the display. - DispatchUpdateCueDisplay(); - } + DispatchUpdateCueDisplay(); } void TextTrackManager::PopulatePendingList() {