Bug 884061 - Part 3b: Use NS_DECL_THREADSAFE_ISUPPORTS in caps/, r=bz

--HG--
extra : rebase_source : bc7beb6f567c2bf0c4a5c528648198f7619d0e72
This commit is contained in:
Joshua Cranmer 2013-07-16 22:51:48 -05:00
parent 3d6ceae21d
commit 55a7eb9289
2 changed files with 3 additions and 3 deletions

View File

@ -33,8 +33,8 @@ nsNullPrincipalURI::nsNullPrincipalURI(const nsCString &aSpec)
static NS_DEFINE_CID(kNullPrincipalURIImplementationCID, static NS_DEFINE_CID(kNullPrincipalURIImplementationCID,
NS_NULLPRINCIPALURI_IMPLEMENTATION_CID); NS_NULLPRINCIPALURI_IMPLEMENTATION_CID);
NS_IMPL_THREADSAFE_ADDREF(nsNullPrincipalURI) NS_IMPL_ADDREF(nsNullPrincipalURI)
NS_IMPL_THREADSAFE_RELEASE(nsNullPrincipalURI) NS_IMPL_RELEASE(nsNullPrincipalURI)
NS_INTERFACE_MAP_BEGIN(nsNullPrincipalURI) NS_INTERFACE_MAP_BEGIN(nsNullPrincipalURI)
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIURI) NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIURI)

View File

@ -27,7 +27,7 @@ class nsNullPrincipalURI MOZ_FINAL : public nsIURI
, public nsISizeOf , public nsISizeOf
{ {
public: public:
NS_DECL_ISUPPORTS NS_DECL_THREADSAFE_ISUPPORTS
NS_DECL_NSIURI NS_DECL_NSIURI
// nsISizeOf // nsISizeOf