зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 2931db85cc99 (bug 1289976)
This commit is contained in:
Родитель
1f40b92079
Коммит
e880c3527f
|
@ -386,11 +386,16 @@ void
|
|||
MediaDecoder::StartDormantTimer()
|
||||
{
|
||||
MOZ_ASSERT(NS_IsMainThread());
|
||||
if (!IsHeuristicDormantSupported()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!IsHeuristicDormantSupported() ||
|
||||
mIsHeuristicDormant ||
|
||||
if (mIsHeuristicDormant ||
|
||||
IsShutdown() ||
|
||||
mIsVisible ||
|
||||
(mPlayState != PLAY_STATE_PAUSED && !IsEnded())) {
|
||||
(mPlayState != PLAY_STATE_PAUSED &&
|
||||
!IsEnded()))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче