Bug 891543 - Remove the version of AudioBuffer::GetChannelData that is unused; r=roc

This commit is contained in:
Ehsan Akhgari 2013-07-09 17:35:05 -04:00
parent c5602433f1
commit 0af4dba840

View File

@ -82,12 +82,6 @@ public:
JSObject* GetChannelData(JSContext* aJSContext, uint32_t aChannel,
ErrorResult& aRv);
JSObject* GetChannelData(uint32_t aChannel) const {
// Doesn't perform bounds checking
MOZ_ASSERT(aChannel < mJSChannels.Length());
return mJSChannels[aChannel];
}
/**
* Returns a ThreadSharedFloatArrayBufferList containing the sample data.
* Can return null if there is no data.