зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1289976. Part 3 - Remove the IsShutdown() check from MediaDecoder::FireTimeUpdate(). r=kaku
FireTimeUpdate() is only called from UpdateLogicalPositionInternal() which returns early when IsShutdown() is true. MozReview-Commit-ID: 4GZwrI85aXj --HG-- extra : rebase_source : 9d7cbd571fd794369c833723ea5fc50a26380e51
This commit is contained in:
Родитель
294fff9de7
Коммит
d2d8295bf6
|
@ -1675,9 +1675,7 @@ void
|
|||
MediaDecoder::FireTimeUpdate()
|
||||
{
|
||||
MOZ_ASSERT(NS_IsMainThread());
|
||||
if (IsShutdown()) {
|
||||
return;
|
||||
}
|
||||
MOZ_ASSERT(!IsShutdown());
|
||||
mOwner->FireTimeUpdate(true);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче