bug correct mBufferIsDownstreamRef documentation r?padenot draft
authorKarl Tomlinson <karlt+@karlt.net>
Thu, 10 Aug 2017 16:55:05 +1200
changeset 645166 7f70cb68fa9fcb5bfdfba590831daef97a499941
parent 645165 63c08b4a1c1bb904515c358f256fd54a1d063fda
child 645167 77c55c27bccc11eccc51bbafa649a24fd5a1ab74
push id73684
push userktomlinson@mozilla.com
push dateFri, 11 Aug 2017 22:29:12 +0000
reviewerspadenot
milestone57.0a1
bug correct mBufferIsDownstreamRef documentation r?padenot
dom/media/webaudio/AudioBlock.h
--- a/dom/media/webaudio/AudioBlock.h
+++ b/dom/media/webaudio/AudioBlock.h
@@ -120,17 +120,17 @@ public:
 private:
   void ClearDownstreamMark();
   bool CanWrite();
 
   // mBufferIsDownstreamRef is set only when mBuffer references an
   // AudioBlockBuffer created in a different AudioBlock.  That can happen when
   // this AudioBlock is on a node downstream from the node which created the
   // buffer.  When this is set, the AudioBlockBuffer is notified that this
-  // reference does prevent the upstream node from re-using the buffer next
+  // reference does not prevent the upstream node from re-using the buffer next
   // iteration and modifying its contents.  The AudioBlockBuffer is also
   // notified when mBuffer releases this reference.
   bool mBufferIsDownstreamRef = false;
 };
 
 } // namespace mozilla
 
 #endif // MOZILLA_AUDIOBLOCK_H_