mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 13:56:29 +00:00
Bug 1290780. Part 4 - Assert IsShutdown() is false in SeekingStarted() since the callback is disconnected in Shutdown(). r=kaku
MozReview-Commit-ID: 7Q9EAhy3O7w --HG-- extra : rebase_source : a68a9d50d0c2c669dd4c5ae0897e06c1538811d1
This commit is contained in:
parent
3d1ea356e3
commit
e073bd7c27
@ -1306,9 +1306,7 @@ void
|
|||||||
MediaDecoder::SeekingStarted(MediaDecoderEventVisibility aEventVisibility)
|
MediaDecoder::SeekingStarted(MediaDecoderEventVisibility aEventVisibility)
|
||||||
{
|
{
|
||||||
MOZ_ASSERT(NS_IsMainThread());
|
MOZ_ASSERT(NS_IsMainThread());
|
||||||
if (IsShutdown())
|
MOZ_ASSERT(!IsShutdown());
|
||||||
return;
|
|
||||||
|
|
||||||
if (aEventVisibility != MediaDecoderEventVisibility::Suppressed) {
|
if (aEventVisibility != MediaDecoderEventVisibility::Suppressed) {
|
||||||
mOwner->SeekStarted();
|
mOwner->SeekStarted();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user