bug 1197028 add MOZ_IMPLICIT for AudioBlock constructor from base AudioChunk on CLOSED TREE
authorKarl Tomlinson <karlt+@karlt.net>
Wed, 09 Sep 2015 23:04:02 +1200
changeset 294157 3ded49bb78d735b442f7965b215de9532f80e787
parent 294156 bebf1050fa4d4c22de26165680b89e2955d18405
child 294158 ac51f970e85df6b96344c11f3e2f056fb30dfdb9
push id5245
push userraliiev@mozilla.com
push dateThu, 29 Oct 2015 11:30:51 +0000
treeherdermozilla-beta@dac831dc1bd0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1197028
milestone43.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 1197028 add MOZ_IMPLICIT for AudioBlock constructor from base AudioChunk on CLOSED TREE
dom/media/webaudio/AudioBlock.h
--- a/dom/media/webaudio/AudioBlock.h
+++ b/dom/media/webaudio/AudioBlock.h
@@ -19,17 +19,17 @@ namespace mozilla {
  * Use on graph thread only.
  */
 class AudioBlock : private AudioChunk
 {
 public:
   AudioBlock() {
     mDuration = WEBAUDIO_BLOCK_SIZE;
   }
-  AudioBlock(const AudioChunk& aChunk) {
+  MOZ_IMPLICIT AudioBlock(const AudioChunk& aChunk) {
     mDuration = WEBAUDIO_BLOCK_SIZE;
     operator=(aChunk);
   }
   ~AudioBlock();
 
   using AudioChunk::GetDuration;
   using AudioChunk::IsNull;
   using AudioChunk::ChannelCount;