Bug 1054149 - Fix anFoo coding style violation in content/media. r=cpearce

--HG--
extra : rebase_source : 69152bba07ecbf4e1a5790ba0f6abb0a6cda3be2
This commit is contained in:
Matthew Gregan 2014-08-14 21:24:00 +12:00
parent a021626551
commit 7465be451d
5 changed files with 10 additions and 10 deletions

View File

@ -17,8 +17,8 @@ namespace mozilla {
// Thread and type safe wrapper around nsDeque.
template <class T>
class MediaQueueDeallocator : public nsDequeFunctor {
virtual void* operator() (void* anObject) {
delete static_cast<T*>(anObject);
virtual void* operator() (void* aObject) {
delete static_cast<T*>(aObject);
return nullptr;
}
};

View File

@ -25,10 +25,10 @@ PRLogModuleInfo* GetDemuxerLog();
namespace mozilla {
AppleATDecoder::AppleATDecoder(const mp4_demuxer::AudioDecoderConfig& aConfig,
MediaTaskQueue* anAudioTaskQueue,
MediaTaskQueue* aAudioTaskQueue,
MediaDataDecoderCallback* aCallback)
: mConfig(aConfig)
, mTaskQueue(anAudioTaskQueue)
, mTaskQueue(aAudioTaskQueue)
, mCallback(aCallback)
, mConverter(nullptr)
, mStream(nullptr)

View File

@ -18,8 +18,8 @@ public:
MemoryFunctor() : mSize(0) {}
MOZ_DEFINE_MALLOC_SIZE_OF(MallocSizeOf);
virtual void* operator()(void* anObject) {
const AudioData* audioData = static_cast<const AudioData*>(anObject);
virtual void* operator()(void* aObject) {
const AudioData* audioData = static_cast<const AudioData*>(aObject);
mSize += audioData->SizeOfIncludingThis(MallocSizeOf);
return nullptr;
}

View File

@ -65,8 +65,8 @@ private:
};
class ResourceQueueDeallocator : public nsDequeFunctor {
virtual void* operator() (void* anObject) {
delete static_cast<ResourceItem*>(anObject);
virtual void* operator() (void* aObject) {
delete static_cast<ResourceItem*>(aObject);
return nullptr;
}
};

View File

@ -57,8 +57,8 @@ private:
// Thread and type safe wrapper around nsDeque.
class PacketQueueDeallocator : public nsDequeFunctor {
virtual void* operator() (void* anObject) {
delete static_cast<NesteggPacketHolder*>(anObject);
virtual void* operator() (void* aObject) {
delete static_cast<NesteggPacketHolder*>(aObject);
return nullptr;
}
};