mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1212701. Part 2 - remove MediaDecoderStateMachine::OnDecodeTaskQueue() which is unused. r=jya.
This commit is contained in:
parent
67478f0774
commit
61ef743372
@ -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();
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user