Bug 1353607. P1 - remove the dead code. draft
authorJW Wang <jwwang@mozilla.com>
Tue, 28 Mar 2017 16:49:31 +0800
changeset 557648 44b7f06e17c5c261741a9345c67e6e58b4955cf4
parent 557602 fe88209821169b2b7524f36e6a2fe76b6d08fdef
child 557649 9caf26301417702174bcc87caebf96d66843ff54
push id52775
push userjwwang@mozilla.com
push dateFri, 07 Apr 2017 03:28:07 +0000
bugs1353607
milestone55.0a1
Bug 1353607. P1 - remove the dead code. MozReview-Commit-ID: 6FPq2ucZde5
dom/media/MediaDecoderStateMachine.h
--- a/dom/media/MediaDecoderStateMachine.h
+++ b/dom/media/MediaDecoderStateMachine.h
@@ -369,18 +369,16 @@ protected:
 
   // Return the current time, either the audio clock if available (if the media
   // has audio, and the playback is possible), or a clock for the video.
   // Called on the state machine thread.
   // If aTimeStamp is non-null, set *aTimeStamp to the TimeStamp corresponding
   // to the returned stream time.
   media::TimeUnit GetClock(TimeStamp* aTimeStamp = nullptr) const;
 
-  void SetStartTime(int64_t aStartTimeUsecs);
-
   // Update only the state machine's current playback position (and duration,
   // if unknown).  Does not update the playback position on the decoder or
   // media element -- use UpdatePlaybackPosition for that.  Called on the state
   // machine thread, caller must hold the decoder lock.
   void UpdatePlaybackPositionInternal(const media::TimeUnit& aTime);
 
   // Update playback position and trigger next update by default time period.
   // Called on the state machine thread.