bug 1203380 ClearDownstreamMark() before returning AsMutableChunk() r=padenot
authorKarl Tomlinson <karlt+@karlt.net>
Thu, 10 Sep 2015 14:47:31 +1200
changeset 294707 8ebbacbfa7f2aba984330904c39c5a0b4189b529
parent 294706 22a03aea78e1c9844bd8d706040853db974f4c01
child 294708 6450772ee568f2ffc58a0aa84fd4bd4073fd07f6
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)
reviewerspadenot
bugs1203380
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 1203380 ClearDownstreamMark() before returning AsMutableChunk() r=padenot
dom/media/webaudio/AudioBlock.h
--- a/dom/media/webaudio/AudioBlock.h
+++ b/dom/media/webaudio/AudioBlock.h
@@ -39,17 +39,17 @@ public:
   // mDuration is not exposed.  Use GetDuration().
   // mBuffer is not exposed.  Use SetBuffer().
   using AudioChunk::mChannelData;
   using AudioChunk::mVolume;
   using AudioChunk::mBufferFormat;
 
   const AudioChunk& AsAudioChunk() const { return *this; }
   AudioChunk* AsMutableChunk() {
-    void ClearDownstreamMark();
+    ClearDownstreamMark();
     return this;
   }
 
   /**
    * Allocates, if necessary, aChannelCount buffers of WEBAUDIO_BLOCK_SIZE float
    * samples for writing.
    */
   void AllocateChannels(uint32_t aChannelCount);