Bug 1196591: Initialize member. r=me a=sylvestre
authorJean-Yves Avenard <jyavenard@mozilla.com>
Thu, 20 Aug 2015 12:00:34 +1000
changeset 277225 2452b513ecc2b7d80392ca9c346d8a4ac9c53e00
parent 277224 86e30962df7edab5c56781fb942930a7e79bf35d
child 277226 826fd80899a38d020ad09f04e48978e3f970db86
push id8339
push userkwierso@gmail.com
push dateFri, 21 Aug 2015 21:03:08 +0000
treeherdermozilla-aurora@aa74fd860951 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme, sylvestre
bugs1196591, 1190238
milestone42.0a2
Bug 1196591: Initialize member. r=me a=sylvestre Small correction introduced in bug 1190238
dom/media/BufferMediaResource.h
--- a/dom/media/BufferMediaResource.h
+++ b/dom/media/BufferMediaResource.h
@@ -21,16 +21,17 @@ class BufferMediaResource : public Media
 {
 public:
   BufferMediaResource(const uint8_t* aBuffer,
                       uint32_t aLength,
                       nsIPrincipal* aPrincipal,
                       const nsACString& aContentType) :
     mBuffer(aBuffer),
     mLength(aLength),
+    mOffset(0),
     mPrincipal(aPrincipal),
     mContentType(aContentType)
   {
     MOZ_COUNT_CTOR(BufferMediaResource);
   }
 
 protected:
   virtual ~BufferMediaResource()