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 240206 def96daddf8c7d067583cea6c439ab7866ac73cc
parent 240205 1b311ea5972239807714781b5ec7c2eac08b2abe
child 240207 d453cb1ae6648b103ed1b1a00eb97503f8060cb7
push id7495
push userryanvm@gmail.com
push dateTue, 20 Jan 2015 16:59:19 +0000
treeherdermozilla-aurora@b5727b11abfb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1055904
milestone37.0a2
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