Bug 1258144: Flip warning sense typo in original patch for bug r=cpearce
authorRandell Jesup <rjesup@jesup.org>
Mon, 28 Mar 2016 20:02:40 -0400
changeset 290772 b3099764f4181717e6a48128264c5b2247832a85
parent 290771 637e6dce9a3f1210163cfa513292146a7367acd8
child 290773 d9f4607812aec2639be5a70963edc41a7f7600a2
push id19656
push usergwagner@mozilla.com
push dateMon, 04 Apr 2016 13:43:23 +0000
treeherderb2g-inbound@e99061fde28a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscpearce
bugs1258144
milestone48.0a1
Bug 1258144: Flip warning sense typo in original patch for bug r=cpearce MozReview-Commit-ID: dztvbBSYyI
dom/media/GraphDriver.cpp
--- a/dom/media/GraphDriver.cpp
+++ b/dom/media/GraphDriver.cpp
@@ -222,17 +222,17 @@ public:
 private:
   ThreadedDriver* mDriver;
 };
 
 void
 ThreadedDriver::Start()
 {
   LIFECYCLE_LOG("Starting thread for a SystemClockDriver  %p\n", mGraphImpl);
-  NS_WARN_IF(!mThread);
+  NS_WARN_IF(mThread);
   if (!mThread) { // Ensure we haven't already started it
     nsCOMPtr<nsIRunnable> event = new MediaStreamGraphInitThreadRunnable(this);
     // Note: mThread may be null during event->Run() if we pass to NewNamedThread!  See AudioInitTask
     nsresult rv = NS_NewNamedThread("MediaStreamGrph", getter_AddRefs(mThread));
     if (NS_SUCCEEDED(rv)) {
       mThread->Dispatch(event, NS_DISPATCH_NORMAL);
     }
   }