mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 1290780. Part 8 - Assert IsShutdown() is false in SetExplicitDuration(). r=kaku
It is called from MediaSourceDecoder::SetMediaSourceDuration() which asserts !IsShutdown(). MozReview-Commit-ID: LF8rRPZhkA2 --HG-- extra : rebase_source : 886778f70d00e8670a203e9d322e442c9d117a72
This commit is contained in:
parent
95cf484548
commit
453c175228
@ -542,6 +542,7 @@ protected:
|
||||
|
||||
void SetExplicitDuration(double aValue)
|
||||
{
|
||||
MOZ_ASSERT(!IsShutdown());
|
||||
mExplicitDuration.Set(Some(aValue));
|
||||
|
||||
// We Invoke DurationChanged explicitly, rather than using a watcher, so
|
||||
|
Loading…
Reference in New Issue
Block a user