Bug 882717 - Invoke TimeMarchesOn when the startTime/endTime/pauseOnExit be changed of TextTrackCue. r=rillian

MozReview-Commit-ID: 7Xol9x83lLx
This commit is contained in:
bechen
2016-06-08 16:53:30 +08:00
parent 23d54b2a9b
commit d2e8373ca8
8 changed files with 52 additions and 1 deletions

View File

@@ -712,5 +712,12 @@ TextTrackManager::TimeMarchesOn()
UpdateCueDisplay();
}
void
TextTrackManager::NotifyCueUpdated(TextTrackCue *aCue)
{
// TODO: Add/Reorder the cue to mNewCues if we have some optimization?
DispatchTimeMarchesOn();
}
} // namespace dom
} // namespace mozilla