Bug 1193123 - Remove redundant & wrong SetFuzz. r=jya a=ritu
authorGerald Squelart <gsquelart@mozilla.com>
Tue, 11 Aug 2015 22:14:00 -0400
changeset 289096 93a21f5df6d540031b892414ccc8fe4735468c58
parent 289095 dfa2ebb06230e8b50434a7f37b8fb7d0f404555b
child 289097 fd742b6c5596174727f38d802bb18612052d6b01
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjya, ritu
bugs1193123
milestone42.0a2
Bug 1193123 - Remove redundant & wrong SetFuzz. r=jya a=ritu
dom/media/mediasource/TrackBuffersManager.cpp
--- a/dom/media/mediasource/TrackBuffersManager.cpp
+++ b/dom/media/mediasource/TrackBuffersManager.cpp
@@ -1622,18 +1622,16 @@ TrackBuffersManager::RemoveFrames(const 
                    TimeUnit::FromMicroseconds(sample->GetEndTime()));
     removedIntervals += sampleInterval;
     if (sample->mDuration > maxSampleDuration) {
       maxSampleDuration = sample->mDuration;
     }
     aTrackData.mSizeBuffer -= sample->ComputedSizeOfIncludingThis();
   }
 
-  removedIntervals.SetFuzz(TimeUnit::FromMicroseconds(maxSampleDuration));
-
   MSE_DEBUG("Removing frames from:%u (frames:%u) ([%f, %f))",
             firstRemovedIndex.ref(),
             lastRemovedIndex - firstRemovedIndex.ref() + 1,
             removedIntervals.GetStart().ToSeconds(),
             removedIntervals.GetEnd().ToSeconds());
 
   if (aTrackData.mNextGetSampleIndex.isSome()) {
     if (aTrackData.mNextGetSampleIndex.ref() >= firstRemovedIndex.ref() &&