Bug 1262396: [MSE] Remove incorrect assertion. r?gerald draft
authorJean-Yves Avenard <jyavenard@mozilla.com>
Wed, 06 Apr 2016 21:26:46 +1000
changeset 348013 3dc4e9d51854
parent 347900 c8af968aee9f
child 517766 5a3e2aa11a76
push id14731
push userbmo:jyavenard@mozilla.com
push dateWed, 06 Apr 2016 11:27:20 +0000
reviewersgerald
bugs1262396
milestone48.0a1
Bug 1262396: [MSE] Remove incorrect assertion. r?gerald MozReview-Commit-ID: Dav8XajE6mU
dom/media/mediasource/TrackBuffersManager.cpp
--- a/dom/media/mediasource/TrackBuffersManager.cpp
+++ b/dom/media/mediasource/TrackBuffersManager.cpp
@@ -775,17 +775,16 @@ void
 TrackBuffersManager::RejectAppend(nsresult aRejectValue, const char* aName)
 {
   MSE_DEBUG("rv=%d", aRejectValue);
   if (mDetached) {
     // We've been detached.
     return;
   }
   MOZ_DIAGNOSTIC_ASSERT(mCurrentTask && mCurrentTask->GetType() == SourceBufferTask::Type::AppendBuffer);
-  MOZ_DIAGNOSTIC_ASSERT(mSourceBufferAttributes);
 
   mCurrentTask->As<AppendBufferTask>()->mPromise.Reject(aRejectValue, __func__);
   mSourceBufferAttributes = nullptr;
   mCurrentTask = nullptr;
   ProcessTasks();
 }
 
 void