mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 1290780. Part 9 - Assert IsShutdown() is false in DurationChanged(). r=kaku
1. The watch manager disconnect callbacks in Shutdown(). 2. SetExplicitDuration() asserts !IsShutdown(). 3. SetInfinite() asserts !IsShutdown(). MozReview-Commit-ID: FwWf4m5OAOP --HG-- extra : rebase_source : 374e9c4ef31abf56f0be76826c98cd852bef1e7a
This commit is contained in:
parent
453c175228
commit
64c1909e96
@ -1361,10 +1361,7 @@ void
|
||||
MediaDecoder::DurationChanged()
|
||||
{
|
||||
MOZ_ASSERT(NS_IsMainThread());
|
||||
|
||||
if (IsShutdown()) {
|
||||
return;
|
||||
}
|
||||
MOZ_ASSERT(!IsShutdown());
|
||||
|
||||
double oldDuration = mDuration;
|
||||
if (IsInfinite()) {
|
||||
|
Loading…
Reference in New Issue
Block a user