Backed out changeset 9be5bbb35797 (bug 1247189)
authorSebastian Hengst <archaeopteryx@coole-files.de>
Wed, 11 Oct 2017 12:45:29 +0200
changeset 385648 7e3f88db34fd472b285c0cb556cc01774694e5e3
parent 385647 ab7615bac4ee05b8371a7f9571ca88fb482a073f
child 385649 68baa2a6566d64ff98106e94399b174484007552
push id32664
push userarchaeopteryx@coole-files.de
push dateThu, 12 Oct 2017 09:34:55 +0000
treeherdermozilla-central@a32c32d9631c [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.