Bug 1193123 - Remove redundant & wrong SetFuzz. r=jya
authorGerald Squelart <gsquelart@mozilla.com>
Tue, 11 Aug 2015 22:14:00 -0400
changeset 257486 5bff51ff1723f01feda89cb7a3a6ac306368da79
parent 257485 46c76a065318e40a762a7f1ccbbce459a22b9465
child 257487 1306c43f4996df81310b34e7a614eff3e3570121
push id29219
push userkwierso@gmail.com
push dateWed, 12 Aug 2015 22:16:22 +0000
treeherdermozilla-central@7649ffe28b67 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjya
bugs1193123
milestone43.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
Bug 1193123 - Remove redundant & wrong SetFuzz. r=jya
dom/media/mediasource/TrackBuffersManager.cpp
--- a/dom/media/mediasource/TrackBuffersManager.cpp
+++ b/dom/media/mediasource/TrackBuffersManager.cpp
@@ -1615,18 +1615,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() &&