Bug 1283417 - part1 : implement function to notify cue's display states changed. r=bechen
MozReview-Commit-ID: AF2S2UOLCt1
This commit is contained in:
@@ -6207,5 +6207,16 @@ HTMLMediaElement::OnVisibilityChange(Visibility aOldVisibility,
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
HTMLMediaElement::NotifyCueDisplayStatesChanged()
|
||||
{
|
||||
if (!mTextTrackManager) {
|
||||
return;
|
||||
}
|
||||
|
||||
mTextTrackManager->DispatchUpdateCueDisplay();
|
||||
}
|
||||
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
||||
Reference in New Issue
Block a user