diff --git a/mozilla/caps/src/nsScriptSecurityManager.cpp b/mozilla/caps/src/nsScriptSecurityManager.cpp index a2079e2ccf7..c6330b1a33c 100644 --- a/mozilla/caps/src/nsScriptSecurityManager.cpp +++ b/mozilla/caps/src/nsScriptSecurityManager.cpp @@ -353,7 +353,7 @@ nsSecurityNameSet::AddNameSet(nsIScriptContext* aScriptContext) // Methods implementing ISupports // //////////////////////////////////// -NS_IMPL_ISUPPORTS2(nsScriptSecurityManager, +NS_IMPL_THREADSAFE_ISUPPORTS2(nsScriptSecurityManager, nsIScriptSecurityManager, nsIXPCSecurityManager) diff --git a/mozilla/js/src/xpconnect/src/xpcthreadcontext.cpp b/mozilla/js/src/xpconnect/src/xpcthreadcontext.cpp index 99287feb792..87a95b56b74 100644 --- a/mozilla/js/src/xpconnect/src/xpcthreadcontext.cpp +++ b/mozilla/js/src/xpconnect/src/xpcthreadcontext.cpp @@ -45,7 +45,8 @@ * is using it. */ -NS_IMPL_ISUPPORTS2(nsXPCThreadJSContextStackImpl, nsIThreadJSContextStack, nsIJSContextStack) +NS_IMPL_THREADSAFE_ISUPPORTS2(nsXPCThreadJSContextStackImpl, + nsIThreadJSContextStack, nsIJSContextStack) static nsXPCThreadJSContextStackImpl* gXPCThreadJSContextStack = nsnull; diff --git a/mozilla/profile/src/nsProfile.cpp b/mozilla/profile/src/nsProfile.cpp index 6b30b28d1b7..5d6f0c5015e 100644 --- a/mozilla/profile/src/nsProfile.cpp +++ b/mozilla/profile/src/nsProfile.cpp @@ -183,9 +183,8 @@ nsProfile::~nsProfile() /* * nsISupports Implementation */ - -NS_IMPL_ADDREF(nsProfile) -NS_IMPL_RELEASE(nsProfile) +NS_IMPL_THREADSAFE_ADDREF(nsProfile) +NS_IMPL_THREADSAFE_RELEASE(nsProfile) NS_INTERFACE_MAP_BEGIN(nsProfile) NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIProfile)