Bug 1262396: [MSE] Remove incorrect assertion. r=gerald
authorJean-Yves Avenard <jyavenard@mozilla.com>
Wed, 06 Apr 2016 21:26:46 +1000
changeset 291923 a2fbcf1728ca
parent 291922 38204fd2ece9
child 291924 f33a85c0997b
push id30149
push usercbook@mozilla.com
push dateThu, 07 Apr 2016 09:52:31 +0000
treeherdermozilla-central@b6683e141c47 [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