Backed out changeset 9fbc92fa9e4b (bug 1221855) because I backed out the other half a=backout
authorWes Kocher <wkocher@mozilla.com>
Thu, 12 Nov 2015 14:07:52 -0800
changeset 296712 51f0f13e7985
parent 296711 e4629e309487
child 296715 8176ebcdf416
push id5302
push userkwierso@gmail.com
push date2015-11-12 22:07 +0000
treeherdermozilla-beta@51f0f13e7985 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbackout
bugs1221855
milestone43.0
backs out9fbc92fa9e4b
Backed out changeset 9fbc92fa9e4b (bug 1221855) because I backed out the other half a=backout
dom/media/webaudio/ScriptProcessorNode.cpp
--- a/dom/media/webaudio/ScriptProcessorNode.cpp
+++ b/dom/media/webaudio/ScriptProcessorNode.cpp
@@ -335,19 +335,17 @@ public:
 
   virtual size_t SizeOfExcludingThis(MallocSizeOf aMallocSizeOf) const override
   {
     // Not owned:
     // - mSource (probably)
     // - mDestination (probably)
     size_t amount = AudioNodeEngine::SizeOfExcludingThis(aMallocSizeOf);
     amount += mSharedBuffers->SizeOfIncludingThis(aMallocSizeOf);
-    if (mInputBuffer) {
-      amount += mInputBuffer->SizeOfIncludingThis(aMallocSizeOf);
-    }
+    amount += mInputBuffer->SizeOfIncludingThis(aMallocSizeOf);
 
     return amount;
   }
 
   virtual size_t SizeOfIncludingThis(MallocSizeOf aMallocSizeOf) const override
   {
     return aMallocSizeOf(this) + SizeOfExcludingThis(aMallocSizeOf);
   }