mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 5cbae203cad2 (bug 1054149) for bustage ON A CLOSED TREE
This commit is contained in:
parent
2f2a9e3451
commit
573a67d3d1
@ -17,8 +17,8 @@ namespace mozilla {
|
||||
// Thread and type safe wrapper around nsDeque.
|
||||
template <class T>
|
||||
class MediaQueueDeallocator : public nsDequeFunctor {
|
||||
virtual void* operator() (void* aObject) {
|
||||
delete static_cast<T*>(aObject);
|
||||
virtual void* operator() (void* anObject) {
|
||||
delete static_cast<T*>(anObject);
|
||||
return nullptr;
|
||||
}
|
||||
};
|
||||
|
@ -25,10 +25,10 @@ PRLogModuleInfo* GetDemuxerLog();
|
||||
namespace mozilla {
|
||||
|
||||
AppleATDecoder::AppleATDecoder(const mp4_demuxer::AudioDecoderConfig& aConfig,
|
||||
MediaTaskQueue* aAudioTaskQueue,
|
||||
MediaTaskQueue* anAudioTaskQueue,
|
||||
MediaDataDecoderCallback* aCallback)
|
||||
: mConfig(aConfig)
|
||||
, mTaskQueue(aAudioTaskQueue)
|
||||
, mTaskQueue(anAudioTaskQueue)
|
||||
, mCallback(aCallback)
|
||||
, mConverter(nullptr)
|
||||
, mStream(nullptr)
|
||||
|
@ -18,8 +18,8 @@ public:
|
||||
MemoryFunctor() : mSize(0) {}
|
||||
MOZ_DEFINE_MALLOC_SIZE_OF(MallocSizeOf);
|
||||
|
||||
virtual void* operator()(void* aObject) {
|
||||
const AudioData* audioData = static_cast<const AudioData*>(aObject);
|
||||
virtual void* operator()(void* anObject) {
|
||||
const AudioData* audioData = static_cast<const AudioData*>(anObject);
|
||||
mSize += audioData->SizeOfIncludingThis(MallocSizeOf);
|
||||
return nullptr;
|
||||
}
|
||||
|
@ -65,8 +65,8 @@ private:
|
||||
};
|
||||
|
||||
class ResourceQueueDeallocator : public nsDequeFunctor {
|
||||
virtual void* operator() (void* aObject) {
|
||||
delete static_cast<ResourceItem*>(aObject);
|
||||
virtual void* operator() (void* anObject) {
|
||||
delete static_cast<ResourceItem*>(anObject);
|
||||
return nullptr;
|
||||
}
|
||||
};
|
||||
|
@ -57,8 +57,8 @@ private:
|
||||
|
||||
// Thread and type safe wrapper around nsDeque.
|
||||
class PacketQueueDeallocator : public nsDequeFunctor {
|
||||
virtual void* operator() (void* aObject) {
|
||||
delete static_cast<NesteggPacketHolder*>(aObject);
|
||||
virtual void* operator() (void* anObject) {
|
||||
delete static_cast<NesteggPacketHolder*>(anObject);
|
||||
return nullptr;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user