Bug 971427: Don't use threadsafe refcounting in MediaDocumentStreamListener. r=jst
authorKyle Huey <khuey@kylehuey.com>
Sun, 16 Feb 2014 18:26:56 -0800
changeset 169450 c70dadace8c8925b0206f9dd975b09094a4ac214
parent 169449 58f4e679f0190b808e436451ef705f5afe003e39
child 169451 218fe6c2f733d4829abf19ca462d293101d1efd9
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
reviewersjst
bugs971427
milestone30.0a1
Bug 971427: Don't use threadsafe refcounting in MediaDocumentStreamListener. r=jst
content/html/document/src/MediaDocument.h
--- a/content/html/document/src/MediaDocument.h
+++ b/content/html/document/src/MediaDocument.h
@@ -80,17 +80,17 @@ private:
 
 class MediaDocumentStreamListener: public nsIStreamListener
 {
 public:
   MediaDocumentStreamListener(MediaDocument *aDocument);
   virtual ~MediaDocumentStreamListener();
   void SetStreamListener(nsIStreamListener *aListener);
 
-  NS_DECL_THREADSAFE_ISUPPORTS
+  NS_DECL_ISUPPORTS
 
   NS_DECL_NSIREQUESTOBSERVER
 
   NS_DECL_NSISTREAMLISTENER
 
   nsRefPtr<MediaDocument>      mDocument;
   nsCOMPtr<nsIStreamListener>  mNextStream;
 };