gecko-dev/dom/media/wave
alwu 441473d744 Bug 1563949 - part4 : prevent direct usage of 'AppendElement()' to append sample. r=jya
We should always append sample by using `AppendSample()` to assert whether a sample is valid, so making `mSamples` private can prevent a direct usage of the nsTarry's `AppendElement()`.
Also provide a method to return non-const mSamples which is only used for the move semantics.

Differential Revision: https://phabricator.services.mozilla.com/D38427

--HG--
extra : moz-landing-system : lando
2019-07-19 21:11:21 +00:00
..
WaveDecoder.cpp Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
WaveDecoder.h
WaveDemuxer.cpp Bug 1563949 - part4 : prevent direct usage of 'AppendElement()' to append sample. r=jya 2019-07-19 21:11:21 +00:00
WaveDemuxer.h
moz.build Bug 1465407 - Add media fuzzing targets. r=jya 2019-07-16 14:50:17 +00:00