Bug 1070457: downgrade assertion about cubeb audiostreams to a warning r=roc a=lmandel
authorRandell Jesup <rjesup@jesup.org>
Wed, 15 Oct 2014 17:33:54 -0400
changeset 225741 9e420243b962
parent 225740 5840764c4312
child 225742 bb26f4854630
push id3997
push userrjesup@wgate.com
push date2014-10-20 03:58 +0000
treeherdermozilla-beta@9e420243b962 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc, lmandel
bugs1070457
milestone34.0
Bug 1070457: downgrade assertion about cubeb audiostreams to a warning r=roc a=lmandel
content/media/GraphDriver.cpp
--- a/content/media/GraphDriver.cpp
+++ b/content/media/GraphDriver.cpp
@@ -459,17 +459,17 @@ OfflineClockDriver::WakeUp()
   MOZ_ASSERT(false, "An offline graph should not have to wake up.");
 }
 
 AsyncCubebTask::AsyncCubebTask(AudioCallbackDriver* aDriver, AsyncCubebOperation aOperation)
   : mDriver(aDriver),
     mOperation(aOperation),
     mShutdownGrip(aDriver->GraphImpl())
 {
-  MOZ_ASSERT(mDriver->mAudioStream || aOperation == INIT, "No audio stream !");
+  NS_WARN_IF_FALSE(mDriver->mAudioStream || aOperation == INIT, "No audio stream !");
 }
 
 AsyncCubebTask::~AsyncCubebTask()
 {
 }
 
 NS_IMETHODIMP
 AsyncCubebTask::Run()