Bug 1382574 - part2 : remove HTMLMediaElement::GetHasUserInteraction(). r=bechen
MozReview-Commit-ID: 3MaumQvcR1q
This commit is contained in:
@@ -634,7 +634,7 @@ void
|
||||
TextTrackManager::DispatchUpdateCueDisplay()
|
||||
{
|
||||
if (!mUpdateCueDisplayDispatched && !IsShutdown() &&
|
||||
(mMediaElement->GetHasUserInteraction() || mMediaElement->IsCurrentlyPlaying())) {
|
||||
mMediaElement->IsCurrentlyPlaying()) {
|
||||
WEBVTT_LOG("DispatchUpdateCueDisplay");
|
||||
nsPIDOMWindowInner* win = mMediaElement->OwnerDoc()->GetInnerWindow();
|
||||
if (win) {
|
||||
@@ -656,7 +656,7 @@ TextTrackManager::DispatchTimeMarchesOn()
|
||||
// through its usual monotonic increase during normal playback; current
|
||||
// executing call upon completion will check queue for further 'work'.
|
||||
if (!mTimeMarchesOnDispatched && !IsShutdown() &&
|
||||
(mMediaElement->GetHasUserInteraction() || mMediaElement->IsCurrentlyPlaying())) {
|
||||
mMediaElement->IsCurrentlyPlaying()) {
|
||||
WEBVTT_LOG("DispatchTimeMarchesOn");
|
||||
nsPIDOMWindowInner* win = mMediaElement->OwnerDoc()->GetInnerWindow();
|
||||
if (win) {
|
||||
|
||||
Reference in New Issue
Block a user