Bug 1503132 remove unused MediaStreamGraphImpl::Running() r=padenot
authorKarl Tomlinson <karlt+@karlt.net>
Tue, 30 Oct 2018 23:50:27 +0000
changeset 443661 3fb0c8f6d6e2ec5ed34b6df3ba082c2a37ee0642
parent 443660 981f31de39240803c9734617812082cc628fe65e
child 443662 3eca90e1af072090c8aac02563162327adbebe0e
push id109420
push useraciure@mozilla.com
push dateWed, 31 Oct 2018 05:11:56 +0000
treeherdermozilla-inbound@b357da105c49 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspadenot
bugs1503132
milestone65.0a1
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
Bug 1503132 remove unused MediaStreamGraphImpl::Running() r=padenot Differential Revision: https://phabricator.services.mozilla.com/D10160
dom/media/MediaStreamGraphImpl.h
--- a/dom/media/MediaStreamGraphImpl.h
+++ b/dom/media/MediaStreamGraphImpl.h
@@ -198,21 +198,16 @@ public:
   /**
    * Called from the driver, when the graph thread is about to stop, to tell
    * the main thread to attempt to begin cleanup.  The main thread may either
    * shutdown or revive the graph depending on whether it receives new
    * messages.
    */
   void SignalMainThreadCleanup();
 
-  bool Running() const
-  {
-    return LifecycleStateRef() == LIFECYCLE_RUNNING;
-  }
-
   /* This is the end of the current iteration, that is, the current time of the
    * graph. */
   GraphTime IterationEnd() const;
 
   /**
    * Ensure there is an event posted to the main thread to run RunInStableState.
    * mMonitor must be held.
    * See EnsureRunInStableState