Bug 884061 - Part 3c: Use NS_DECL_THREADSAFE_ISUPPORTS in chrome/, r=bsmedberg
authorJoshua Cranmer <Pidgeot18@gmail.com>
Thu, 18 Jul 2013 21:20:39 -0500
changeset 139601 34216d968a91c452b0df8286fb4b7e4f3f07b2a7
parent 139600 47c749323e6049351dd70cc7b34b1d722427fbbc
child 139602 56450c7bbda6a747c7e5a0777c6682817a4cfd08
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersbsmedberg
bugs884061
milestone25.0a1
Bug 884061 - Part 3c: Use NS_DECL_THREADSAFE_ISUPPORTS in chrome/, r=bsmedberg
chrome/src/nsChromeProtocolHandler.cpp
chrome/src/nsChromeProtocolHandler.h
--- a/chrome/src/nsChromeProtocolHandler.cpp
+++ b/chrome/src/nsChromeProtocolHandler.cpp
@@ -34,19 +34,19 @@
 #include "nsIStreamListener.h"
 #include "nsNetUtil.h"
 #include "nsXPIDLString.h"
 #include "nsString.h"
 #include "prlog.h"
 
 ////////////////////////////////////////////////////////////////////////////////
 
-NS_IMPL_THREADSAFE_ISUPPORTS2(nsChromeProtocolHandler,
-                              nsIProtocolHandler,
-                              nsISupportsWeakReference)
+NS_IMPL_ISUPPORTS2(nsChromeProtocolHandler,
+                   nsIProtocolHandler,
+                   nsISupportsWeakReference)
 
 ////////////////////////////////////////////////////////////////////////////////
 // nsIProtocolHandler methods:
 
 NS_IMETHODIMP
 nsChromeProtocolHandler::GetScheme(nsACString &result)
 {
     result.AssignLiteral("chrome");
--- a/chrome/src/nsChromeProtocolHandler.h
+++ b/chrome/src/nsChromeProtocolHandler.h
@@ -17,17 +17,17 @@
     0x11d3,                                          \
     {0x8c, 0xd0, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3} \
 }
 
 class nsChromeProtocolHandler MOZ_FINAL : public nsIProtocolHandler,
                                           public nsSupportsWeakReference
 {
 public:
-    NS_DECL_ISUPPORTS
+    NS_DECL_THREADSAFE_ISUPPORTS
 
     // nsIProtocolHandler methods:
     NS_DECL_NSIPROTOCOLHANDLER
 
     // nsChromeProtocolHandler methods:
     nsChromeProtocolHandler() {}
     ~nsChromeProtocolHandler() {}
 };