From 7a76ddd5a8525837593c1af6153f309ee9054a1f Mon Sep 17 00:00:00 2001 From: "rpotts%netscape.com" Date: Sun, 27 Feb 2000 05:29:58 +0000 Subject: [PATCH] bug #21556. Made Addref/Release on nsInterfaceInfo threadsafe. --- xpcom/reflect/xptinfo/src/nsInterfaceInfo.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xpcom/reflect/xptinfo/src/nsInterfaceInfo.cpp b/xpcom/reflect/xptinfo/src/nsInterfaceInfo.cpp index 5ad59e83217..2f3d7da68ac 100644 --- a/xpcom/reflect/xptinfo/src/nsInterfaceInfo.cpp +++ b/xpcom/reflect/xptinfo/src/nsInterfaceInfo.cpp @@ -32,7 +32,9 @@ #include "nsInterfaceInfoManager.h" #include "xptinfo.h" -NS_IMPL_ISUPPORTS1(nsInterfaceInfo, nsIInterfaceInfo) +NS_IMPL_THREADSAFE_ADDREF(nsInterfaceInfo) +NS_IMPL_THREADSAFE_RELEASE(nsInterfaceInfo) +NS_IMPL_QUERY_INTERFACE1(nsInterfaceInfo, nsIInterfaceInfo) nsInterfaceInfo::nsInterfaceInfo(nsInterfaceRecord *record, nsInterfaceInfo *parent)