Skip to content

Commit

Permalink
Bug 1273774. Part 3 - remove members no longer used. r=jya.
Browse files Browse the repository at this point in the history
MozReview-Commit-ID: E4OgqAOzqnr

--HG--
extra : rebase_source : 70722fcb1260d98df9216f457377929f36f39420
  • Loading branch information
jwwang committed May 18, 2016
1 parent 8e5351a commit bdd00e6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
4 changes: 1 addition & 3 deletions dom/media/platforms/agnostic/AgnosticDecoderModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ AgnosticDecoderModule::CreateAudioDecoder(const AudioInfo& aConfig,
aAudioTaskQueue,
aCallback);
} else if (WaveDataDecoder::IsWave(aConfig.mMimeType)) {
m = new WaveDataDecoder(*aConfig.GetAsAudioInfo(),
aAudioTaskQueue,
aCallback);
m = new WaveDataDecoder(*aConfig.GetAsAudioInfo(), aCallback);
}

return m.forget();
Expand Down
3 changes: 0 additions & 3 deletions dom/media/platforms/agnostic/WAVDecoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,9 @@ DecodeULawSample(uint8_t aValue)
}

WaveDataDecoder::WaveDataDecoder(const AudioInfo& aConfig,
TaskQueue* aTaskQueue,
MediaDataDecoderCallback* aCallback)
: mInfo(aConfig)
, mTaskQueue(aTaskQueue)
, mCallback(aCallback)
, mIsFlushing(false)
{
}

Expand Down
3 changes: 0 additions & 3 deletions dom/media/platforms/agnostic/WAVDecoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ class WaveDataDecoder : public MediaDataDecoder
{
public:
WaveDataDecoder(const AudioInfo& aConfig,
TaskQueue* aTaskQueue,
MediaDataDecoderCallback* aCallback);

// Return true if mimetype is Wave
Expand All @@ -36,9 +35,7 @@ class WaveDataDecoder : public MediaDataDecoder
bool DoDecode(MediaRawData* aSample);

const AudioInfo& mInfo;
const RefPtr<TaskQueue> mTaskQueue;
MediaDataDecoderCallback* mCallback;
Atomic<bool> mIsFlushing;
};

} // namespace mozilla
Expand Down

0 comments on commit bdd00e6

Please sign in to comment.