Backed out changeset 9be5bbb35797 (bug 1247189)
authorSebastian Hengst <archaeopteryx@coole-files.de>
Wed, 11 Oct 2017 12:45:29 +0200
changeset 438896 7e3f88db34fd472b285c0cb556cc01774694e5e3
parent 438895 ab7615bac4ee05b8371a7f9571ca88fb482a073f
child 438897 68baa2a6566d64ff98106e94399b174484007552
push id1618
push userCallek@gmail.com
push dateThu, 11 Jan 2018 17:45:48 +0000
treeherdermozilla-release@882ca853e05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1247189
milestone58.0a1
backs out9be5bbb35797abfae615b3e3096b5ed0f6575b13
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
Backed out changeset 9be5bbb35797 (bug 1247189)
dom/media/mediasource/TrackBuffersManager.h
--- a/dom/media/mediasource/TrackBuffersManager.h
+++ b/dom/media/mediasource/TrackBuffersManager.h
@@ -456,18 +456,17 @@ private:
 
   // TaskQueue methods and objects.
   AbstractThread* GetTaskQueue() const
   {
     return mTaskQueue;
   }
   bool OnTaskQueue() const
   {
-    MOZ_RELEASE_ASSERT(GetTaskQueue());
-    return GetTaskQueue()->IsCurrentThreadIn();
+    return !GetTaskQueue() || GetTaskQueue()->IsCurrentThreadIn();
   }
   RefPtr<AutoTaskQueue> mTaskQueue;
 
   // SourceBuffer Queues and running context.
   SourceBufferTaskQueue mQueue;
   void QueueTask(SourceBufferTask* aTask);
   void ProcessTasks();
   // Set if the TrackBuffersManager is currently processing a task.