bug 1406830 remove unused RemoveMixerCallback r?padenot draft
authorKarl Tomlinson <karlt+@karlt.net>
Thu, 28 Sep 2017 12:26:41 +1300
changeset 676613 cbc3e798bd8d3f5a898e06f8d6666bf96629e4c7
parent 676612 f2e3eda785cb52413686a1cb16b30c3f01784716
child 676614 e954f9e8c1b714dc482ad97be2475b180dd37696
push id83546
push userktomlinson@mozilla.com
push dateMon, 09 Oct 2017 04:58:54 +0000
reviewerspadenot
bugs1406830
milestone58.0a1
bug 1406830 remove unused RemoveMixerCallback r?padenot Unused since https://hg.mozilla.org/mozilla-central/rev/ef761a32a969178df81a61bc2d0a376dde2eec03#l1.144 MozReview-Commit-ID: G0NaZXJLRN9
dom/media/MediaStreamGraphImpl.h
--- a/dom/media/MediaStreamGraphImpl.h
+++ b/dom/media/MediaStreamGraphImpl.h
@@ -459,21 +459,16 @@ public:
 #ifdef DEBUG
     if (!OnGraphThreadOrNotRunning()) {
       mMonitor.AssertCurrentThreadOwns();
     }
 #endif
     return mDriver;
   }
 
-  bool RemoveMixerCallback(MixerCallbackReceiver* aReceiver)
-  {
-    return mMixer.RemoveCallback(aReceiver);
-  }
-
   /**
    * Effectively set the new driver, while we are switching.
    * It is only safe to call this at the very end of an iteration, when there
    * has been a SwitchAtNextIteration call during the iteration. The driver
    * should return and pass the control to the new driver shortly after.
    * We can also switch from Revive() (on MainThread), in which case the
    * monitor is held
    */