Bug 1313557 - remove the assertion from InternalInit() to avoid data race.
MozReview-Commit-ID: B9GCHOjMqVf
--- a/dom/media/platforms/agnostic/gmp/MediaDataDecoderProxy.cpp
+++ b/dom/media/platforms/agnostic/gmp/MediaDataDecoderProxy.cpp
@@ -19,18 +19,16 @@ void
MediaDataDecoderCallbackProxy::FlushComplete()
{
mProxyDecoder->FlushComplete();
}
RefPtr<MediaDataDecoder::InitPromise>
MediaDataDecoderProxy::InternalInit()
{
- MOZ_ASSERT(!mIsShutdown);
-
return mProxyDecoder->Init();
}
RefPtr<MediaDataDecoder::InitPromise>
MediaDataDecoderProxy::Init()
{
MOZ_ASSERT(!mIsShutdown);