Bug 1193123 - Remove redundant & wrong SetFuzz. r=jya a=ritu
☠☠ backed out by 5bb661db5c6c ☠ ☠
authorGerald Squelart <gsquelart@mozilla.com>
Tue, 11 Aug 2015 22:14:00 -0400
changeset 288973 c64e11bca05f4488d9bec3f1a05c1de78efdd015
parent 288972 43c9dbedf7dec89862ffbfd98cd4a51becd32952
child 288974 fdc74c64c9c925e885c85f0665db4b2acdbd66f5
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() &&