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:
JW Wang 2016-07-27 10:36:09 +08:00
Родитель 294fff9de7
Коммит d2d8295bf6
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -1675,9 +1675,7 @@ void
MediaDecoder::FireTimeUpdate()
{
MOZ_ASSERT(NS_IsMainThread());
if (IsShutdown()) {
return;
}
MOZ_ASSERT(!IsShutdown());
mOwner->FireTimeUpdate(true);
}