Bug 1262396: [MSE] Remove incorrect assertion. r=gerald
authorJean-Yves Avenard <jyavenard@mozilla.com>
Wed, 06 Apr 2016 21:26:46 +1000
changeset 291876 a2fbcf1728cada53e5cb7c8e14537ba4b36461b0
parent 291875 38204fd2ece962c9504ae59d58c99bf38b5626bd
child 291877 f33a85c0997b0497f305f9e16bd1e6002746ab49
push id74704
push userjyavenard@mozilla.com
push dateWed, 06 Apr 2016 11:30:32 +0000
treeherdermozilla-inbound@a2fbcf1728ca [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgerald
bugs1262396
milestone48.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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