Bug 1055904 - Fix non-unified bustage in TrackBuffer.cpp. a=bustage
authorRyan VanderMeulen <ryanvm@gmail.com>
Tue, 20 Jan 2015 11:49:08 -0500
changeset 242948 c703f90c5b80
parent 242947 c5dfa7d081f4
child 242949 131919c0babd
push id4344
push userryanvm@gmail.com
push date2015-01-20 17:02 +0000
treeherdermozilla-beta@ea7deca21c27 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1055904
milestone36.0
Bug 1055904 - Fix non-unified bustage in TrackBuffer.cpp. a=bustage
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