diff --git a/dom/media/MediaDecoderStateMachine.h b/dom/media/MediaDecoderStateMachine.h index 5ad28ba3d6e1..b6d16c6b4050 100644 --- a/dom/media/MediaDecoderStateMachine.h +++ b/dom/media/MediaDecoderStateMachine.h @@ -530,18 +530,6 @@ private: // increasing. Watchable mObservedDuration; - // Returns true if we're logically playing, that is, if the Play() has - // been called and Pause() has not or we have not yet reached the end - // of media. This is irrespective of the seeking state; if the owner - // calls Play() and then Seek(), we still count as logically playing. - // The decoder monitor must be held. - bool IsLogicallyPlaying() - { - MOZ_ASSERT(OnTaskQueue()); - return mPlayState == MediaDecoder::PLAY_STATE_PLAYING - || mNextPlayState == MediaDecoder::PLAY_STATE_PLAYING; - } - // Media Fragment end time. media::TimeUnit mFragmentEndTime = media::TimeUnit::Invalid();