No bug - Remove obsolete comment in SourceBuffer.h. r=me
authorSeth Fowler <mark.seth.fowler@gmail.com>
Fri, 31 Jul 2015 18:10:26 -0700
changeset 255777 05f618ac3d24b37b7582d92122e9e52441112a46
parent 255776 070dc7eabe5fa2df17e152fd54a2dc8ce719fc60
child 255778 3e8dd82cbf50aa3a3471bde6d8d2919fa96fe769
push id29155
push usercbook@mozilla.com
push dateMon, 03 Aug 2015 11:59:12 +0000
treeherdermozilla-central@b9f166a815b2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
milestone42.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
No bug - Remove obsolete comment in SourceBuffer.h. r=me
image/SourceBuffer.h
--- a/image/SourceBuffer.h
+++ b/image/SourceBuffer.h
@@ -202,22 +202,16 @@ private:
  * returns a series of pointers which remain stable for lifetime of the
  * SourceBuffer, and the data they point to is immutable, ensuring that the
  * producer never interferes with the consumers.
  *
  * In order to avoid blocking, SourceBuffer works with SourceBufferIterator to
  * keep a list of consumers which are waiting for new data, and to resume them
  * when the producer appends more. All consumers must implement the IResumable
  * interface to make this possible.
- *
- * XXX(seth): We should add support for compacting a SourceBuffer. To do this,
- * we need to have SourceBuffer keep track of how many live
- * SourceBufferIterator's point to it. When the SourceBuffer is complete and no
- * live SourceBufferIterator's for it remain, we can compact its contents into a
- * single chunk.
  */
 class SourceBuffer final
 {
 public:
   MOZ_DECLARE_REFCOUNTED_TYPENAME(image::SourceBuffer)
   NS_INLINE_DECL_THREADSAFE_REFCOUNTING(image::SourceBuffer)
 
   SourceBuffer();