Bug 1055904 - Fix non-unified bustage in TrackBuffer.cpp.
authorRyan VanderMeulen <ryanvm@gmail.com>
Tue, 20 Jan 2015 22:17:49 -0500
changeset 224840 9c6ac12d931a1a881e7d9e43c9e153ec37d00278
parent 224839 49c547ee2a1119f4f2780727b8a69c1b6add667d
child 224841 fd682d5fc7237a0b0a2496f2039a189e847bcf28
push id28146
push usercbook@mozilla.com
push dateWed, 21 Jan 2015 13:22:59 +0000
treeherdermozilla-central@0f2b4a7a9daf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1055904
milestone38.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 1055904 - Fix non-unified bustage in TrackBuffer.cpp.
dom/media/mediasource/TrackBuffer.cpp
--- a/dom/media/mediasource/TrackBuffer.cpp
+++ b/dom/media/mediasource/TrackBuffer.cpp
@@ -334,17 +334,17 @@ TrackBuffer::EvictData(double aPlaybackT
         buffered->GetEndTime() < 0.0) {
       MSE_DEBUG("TrackBuffer(%p):EvictData remove empty decoders=%d", this, i);
       RemoveDecoder(decoders[i]);
     }
   }
 
   bool evicted = toEvict < (totalSize - aThreshold);
   if (evicted) {
-    nsRefPtr<TimeRanges> ranges = new TimeRanges();
+    nsRefPtr<dom::TimeRanges> ranges = new dom::TimeRanges();
     mCurrentDecoder->GetBuffered(ranges);
     *aBufferStartTime = std::max(0.0, ranges->GetStartTime());
   }
 
   return evicted;
 }
 
 void