зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1219142. Part 2 - remove unused code. r=jya.
This commit is contained in:
Родитель
fbb85ac25a
Коммит
518cc44e44
|
@ -223,15 +223,6 @@ public:
|
|||
virtual size_t SizeOfVideoQueueInFrames();
|
||||
virtual size_t SizeOfAudioQueueInFrames();
|
||||
|
||||
void DispatchNotifyDataArrived()
|
||||
{
|
||||
RefPtr<nsRunnable> r = NS_NewRunnableMethod(
|
||||
this, &MediaDecoderReader::NotifyDataArrived);
|
||||
|
||||
OwnerThread()->Dispatch(
|
||||
r.forget(), AbstractThread::DontAssertDispatchSuccess);
|
||||
}
|
||||
|
||||
void NotifyDataArrived()
|
||||
{
|
||||
MOZ_ASSERT(OnTaskQueue());
|
||||
|
|
|
@ -168,11 +168,6 @@ public:
|
|||
OwnerThread()->Dispatch(runnable.forget());
|
||||
}
|
||||
|
||||
void DispatchNotifyDataArrived()
|
||||
{
|
||||
mReader->DispatchNotifyDataArrived();
|
||||
}
|
||||
|
||||
// Notifies the state machine that should minimize the number of samples
|
||||
// decoded we preroll, until playback starts. The first time playback starts
|
||||
// the state machine is free to return to prerolling normally. Note
|
||||
|
|
Загрузка…
Ссылка в новой задаче