Bug 1154805 - Followup bustage fix. r=me CLOSED TREE

This commit is contained in:
Bobby Holley 2015-04-16 09:54:23 -07:00
parent 37683d6104
commit dfdc32a333

View File

@ -241,7 +241,7 @@ EMEDecoderModule::CreateVideoDecoder(const VideoInfo& aConfig,
nsRefPtr<MediaDataDecoder> emeDecoder(new EMEDecryptor(decoder,
aCallback,
mProxy,
MediaTaskQueue::GetCurrentQueue()));
static_cast<MediaTaskQueue*>(AbstractThread::GetCurrent())));
return emeDecoder.forget();
}
@ -272,7 +272,7 @@ EMEDecoderModule::CreateAudioDecoder(const AudioInfo& aConfig,
nsRefPtr<MediaDataDecoder> emeDecoder(new EMEDecryptor(decoder,
aCallback,
mProxy,
MediaTaskQueue::GetCurrentQueue()));
static_cast<MediaTaskQueue*>(AbstractThread::GetCurrent())));
return emeDecoder.forget();
}