Bug 1212701. Part 2 - remove MediaDecoderStateMachine::OnDecodeTaskQueue() which is unused. r=jya.

This commit is contained in:
JW Wang 2015-10-12 12:05:52 +08:00
parent 67478f0774
commit 61ef743372
2 changed files with 0 additions and 7 deletions

View File

@ -2864,11 +2864,6 @@ MediaDecoderStateMachine::ScheduleStateMachineIn(int64_t aMicroseconds)
mDelayedScheduler.Ensure(target);
}
bool MediaDecoderStateMachine::OnDecodeTaskQueue() const
{
return !DecodeTaskQueue() || DecodeTaskQueue()->IsCurrentThreadIn();
}
bool MediaDecoderStateMachine::OnTaskQueue() const
{
return OwnerThread()->IsCurrentThreadIn();

View File

@ -235,8 +235,6 @@ public:
// Functions used by assertions to ensure we're calling things
// on the appropriate threads.
bool OnDecodeTaskQueue() const;
bool OnTaskQueue() const;
size_t SizeOfVideoQueue() {