Bug 1371515. P3 - remove IsShutdown() which now has no callers. r=kaku

MozReview-Commit-ID: Te3F7WJ8iF

--HG--
extra : rebase_source : 5ed1fa5537f32d3e340ba61c2e1538ed23c007d7
This commit is contained in:
JW Wang 2017-06-09 11:43:51 +08:00
parent 0ddb970029
commit f367b1a0e9
2 changed files with 0 additions and 10 deletions

View File

@ -3758,13 +3758,6 @@ void MediaDecoderStateMachine::PreservesPitchChanged()
mMediaSink->SetPreservesPitch(mPreservesPitch); mMediaSink->SetPreservesPitch(mPreservesPitch);
} }
bool
MediaDecoderStateMachine::IsShutdown() const
{
MOZ_ASSERT(OnTaskQueue());
return mIsShutdown;
}
TimeUnit TimeUnit
MediaDecoderStateMachine::AudioEndTime() const MediaDecoderStateMachine::AudioEndTime() const
{ {

View File

@ -305,9 +305,6 @@ private:
bool HaveEnoughDecodedAudio(); bool HaveEnoughDecodedAudio();
bool HaveEnoughDecodedVideo(); bool HaveEnoughDecodedVideo();
// True if shutdown process has begun.
bool IsShutdown() const;
// Returns true if we're currently playing. The decoder monitor must // Returns true if we're currently playing. The decoder monitor must
// be held. // be held.
bool IsPlaying() const; bool IsPlaying() const;