Bug 1385748. P1 - remove MDSM::IsLogicallyPlaying() which has no callers at all. r=kaku

MozReview-Commit-ID: IfpzTMVtgf6

--HG--
extra : rebase_source : 3a70298f2175cba32dbc47ce4c7d087bff944d44
This commit is contained in:
JW Wang 2017-07-31 10:15:47 +08:00
parent 66d005a1e5
commit 3bb4ecdddc

View File

@ -530,18 +530,6 @@ private:
// increasing.
Watchable<media::TimeUnit> 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();