Bug 1143575. Remove unused MediaQueue::Empty. r=cpearce draft
authorRobert O'Callahan <robert@ocallahan.org>
Mon, 30 Mar 2015 20:06:58 +1300
changeset 275576 439bfa84977b11c6b1cfd963be54bb7b865c90c2
parent 275575 f57771ffd0f6c01a6dda19be33d8366fffc167c8
child 275577 73b13f328e398167d94cdce8c97b8a8b8aaa3dc4
push id3189
push userrocallahan@mozilla.com
push dateFri, 03 Jul 2015 11:12:01 +0000
reviewerscpearce
bugs1143575
milestone42.0a1
Bug 1143575. Remove unused MediaQueue::Empty. r=cpearce
dom/media/MediaQueue.h
--- a/dom/media/MediaQueue.h
+++ b/dom/media/MediaQueue.h
@@ -69,21 +69,16 @@ template <class T> class MediaQueue : pr
     return static_cast<T*>(nsDeque::Peek());
   }
 
   inline T* PeekFront() {
     ReentrantMonitorAutoEnter mon(mReentrantMonitor);
     return static_cast<T*>(nsDeque::PeekFront());
   }
 
-  inline void Empty() {
-    ReentrantMonitorAutoEnter mon(mReentrantMonitor);
-    nsDeque::Empty();
-  }
-
   void Reset() {
     ReentrantMonitorAutoEnter mon(mReentrantMonitor);
     while (GetSize() > 0) {
       nsRefPtr<T> x = PopFront();
     }
     mEndOfStream = false;
   }