Skip to content

Commit 1a6dffc

Browse files
committed
Bug 884061 - Part 3y: Use NS_DECL_THREADSAFE_ISUPPORTS in xpcom/, r=bsmedberg
--HG-- extra : rebase_source : d54f6973e3ff859207115013e8361781769ffc76
1 parent c0dfb98 commit 1a6dffc

File tree

78 files changed

+188
-198
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+188
-198
lines changed

xpcom/base/MapsMemoryReporter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class MapsReporter MOZ_FINAL : public nsIMemoryMultiReporter
116116
public:
117117
MapsReporter();
118118

119-
NS_DECL_ISUPPORTS
119+
NS_DECL_THREADSAFE_ISUPPORTS
120120

121121
NS_IMETHOD GetName(nsACString &aName)
122122
{
@@ -158,7 +158,7 @@ class MapsReporter MOZ_FINAL : public nsIMemoryMultiReporter
158158
nsTHashtable<nsCStringHashKey> mMozillaLibraries;
159159
};
160160

161-
NS_IMPL_THREADSAFE_ISUPPORTS1(MapsReporter, nsIMemoryMultiReporter)
161+
NS_IMPL_ISUPPORTS1(MapsReporter, nsIMemoryMultiReporter)
162162

163163
MapsReporter::MapsReporter()
164164
: mSearchedForLibxul(false)

xpcom/base/nsConsoleMessage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include "nsReadableUtils.h"
1212
#include "jsapi.h"
1313

14-
NS_IMPL_THREADSAFE_ISUPPORTS1(nsConsoleMessage, nsIConsoleMessage)
14+
NS_IMPL_ISUPPORTS1(nsConsoleMessage, nsIConsoleMessage)
1515

1616
nsConsoleMessage::nsConsoleMessage()
1717
: mTimeStamp(0),

xpcom/base/nsConsoleMessage.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class nsConsoleMessage MOZ_FINAL : public nsIConsoleMessage {
1616
nsConsoleMessage();
1717
nsConsoleMessage(const PRUnichar *message);
1818

19-
NS_DECL_ISUPPORTS
19+
NS_DECL_THREADSAFE_ISUPPORTS
2020
NS_DECL_NSICONSOLEMESSAGE
2121

2222
private:

xpcom/base/nsConsoleService.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131

3232
using namespace mozilla;
3333

34-
NS_IMPL_THREADSAFE_ADDREF(nsConsoleService)
35-
NS_IMPL_THREADSAFE_RELEASE(nsConsoleService)
34+
NS_IMPL_ADDREF(nsConsoleService)
35+
NS_IMPL_RELEASE(nsConsoleService)
3636
NS_IMPL_CLASSINFO(nsConsoleService, NULL, nsIClassInfo::THREADSAFE | nsIClassInfo::SINGLETON, NS_CONSOLESERVICE_CID)
3737
NS_IMPL_QUERY_INTERFACE1_CI(nsConsoleService, nsIConsoleService)
3838
NS_IMPL_CI_INTERFACE_GETTER1(nsConsoleService, nsIConsoleService)

xpcom/base/nsConsoleService.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class nsConsoleService MOZ_FINAL : public nsIConsoleService
2525
nsConsoleService();
2626
nsresult Init();
2727

28-
NS_DECL_ISUPPORTS
28+
NS_DECL_THREADSAFE_ISUPPORTS
2929
NS_DECL_NSICONSOLESERVICE
3030

3131
void SetIsDelivering() {

xpcom/base/nsExceptionService.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class nsProviderKey : public nsHashKey {
4242
class nsExceptionManager MOZ_FINAL : public nsIExceptionManager
4343
{
4444
public:
45-
NS_DECL_ISUPPORTS
45+
NS_DECL_THREADSAFE_ISUPPORTS
4646
NS_DECL_NSIEXCEPTIONMANAGER
4747

4848
nsExceptionManager(nsExceptionService *svc);
@@ -67,7 +67,7 @@ int32_t nsExceptionManager::totalInstances = 0;
6767
// one per thread.
6868
// An exception if the destructor, which may be called on
6969
// the thread shutting down xpcom
70-
NS_IMPL_THREADSAFE_ISUPPORTS1(nsExceptionManager, nsIExceptionManager)
70+
NS_IMPL_ISUPPORTS1(nsExceptionManager, nsIExceptionManager)
7171

7272
nsExceptionManager::nsExceptionManager(nsExceptionService *svc) :
7373
mNextThread(nullptr),
@@ -122,10 +122,10 @@ nsExceptionManager *nsExceptionService::firstThread = nullptr;
122122
int32_t nsExceptionService::totalInstances = 0;
123123
#endif
124124

125-
NS_IMPL_THREADSAFE_ISUPPORTS3(nsExceptionService,
126-
nsIExceptionService,
127-
nsIExceptionManager,
128-
nsIObserver)
125+
NS_IMPL_ISUPPORTS3(nsExceptionService,
126+
nsIExceptionService,
127+
nsIExceptionManager,
128+
nsIObserver)
129129

130130
nsExceptionService::nsExceptionService()
131131
: mProviders(4, true) /* small, thread-safe hashtable */

xpcom/base/nsExceptionService.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class nsExceptionManager;
2121
class nsExceptionService MOZ_FINAL : public nsIExceptionService, public nsIObserver
2222
{
2323
public:
24-
NS_DECL_ISUPPORTS
24+
NS_DECL_THREADSAFE_ISUPPORTS
2525
NS_DECL_NSIEXCEPTIONSERVICE
2626
NS_DECL_NSIEXCEPTIONMANAGER
2727
NS_DECL_NSIOBSERVER

xpcom/base/nsIMemoryReporter.idl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -310,30 +310,30 @@ interface nsIMemoryReporterManager : nsISupports
310310
#define NS_MEMORY_REPORTER_IMPLEMENT_HELPER(_classname, _path, _kind, _units, _amountFunction, _desc, _ts) \
311311
class MemoryReporter_##_classname MOZ_FINAL : public nsIMemoryReporter { \
312312
public: \
313-
NS_DECL_ISUPPORTS \
313+
NS_DECL##_ts##ISUPPORTS \
314314
NS_IMETHOD GetProcess(nsACString &process) { process.Truncate(); return NS_OK; } \
315315
NS_IMETHOD GetPath(nsACString &memoryPath) { memoryPath.AssignLiteral(_path); return NS_OK; } \
316316
NS_IMETHOD GetKind(int *kind) { *kind = _kind; return NS_OK; } \
317317
NS_IMETHOD GetUnits(int *units) { *units = _units; return NS_OK; } \
318318
NS_IMETHOD GetAmount(int64_t *amount) { *amount = _amountFunction(); return NS_OK; } \
319319
NS_IMETHOD GetDescription(nsACString &desc) { desc.AssignLiteral(_desc); return NS_OK; } \
320320
}; \
321-
NS_IMPL##_ts##ISUPPORTS1(MemoryReporter_##_classname, nsIMemoryReporter)
321+
NS_IMPL_ISUPPORTS1(MemoryReporter_##_classname, nsIMemoryReporter)
322322

323323
// The only difference between this and NS_MEMORY_REPORTER_IMPLEMENT_HELPER
324324
// is that the function used to implement GetAmount is fallible.
325325
#define NS_FALLIBLE_MEMORY_REPORTER_IMPLEMENT_HELPER(_classname, _path, _kind, _units, _amountFunction, _desc, _ts) \
326326
class MemoryReporter_##_classname MOZ_FINAL : public nsIMemoryReporter { \
327327
public: \
328-
NS_DECL_ISUPPORTS \
328+
NS_DECL##_ts##ISUPPORTS \
329329
NS_IMETHOD GetProcess(nsACString &process) { process.Truncate(); return NS_OK; } \
330330
NS_IMETHOD GetPath(nsACString &memoryPath) { memoryPath.AssignLiteral(_path); return NS_OK; } \
331331
NS_IMETHOD GetKind(int32_t *kind) { *kind = _kind; return NS_OK; } \
332332
NS_IMETHOD GetUnits(int32_t *units) { *units = _units; return NS_OK; } \
333333
NS_IMETHOD GetAmount(int64_t *amount) { return _amountFunction(amount); } \
334334
NS_IMETHOD GetDescription(nsACString &desc) { desc.AssignLiteral(_desc); return NS_OK; }\
335335
}; \
336-
NS_IMPL##_ts##ISUPPORTS1(MemoryReporter_##_classname, nsIMemoryReporter)
336+
NS_IMPL_ISUPPORTS1(MemoryReporter_##_classname, nsIMemoryReporter)
337337

338338
#define NS_MEMORY_REPORTER_IMPLEMENT(_c, _p, _k, _u, _a, _d) \
339339
NS_MEMORY_REPORTER_IMPLEMENT_HELPER(_c, _p, _k, _u, _a, _d, _)
@@ -448,7 +448,7 @@ public:
448448

449449
virtual ~MemoryReporterBase() {}
450450

451-
NS_DECL_ISUPPORTS
451+
NS_DECL_THREADSAFE_ISUPPORTS
452452

453453
NS_IMETHOD GetProcess(nsACString& aProcess)
454454
{

xpcom/base/nsInterfaceRequestorAgg.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
class nsInterfaceRequestorAgg MOZ_FINAL : public nsIInterfaceRequestor
1212
{
1313
public:
14-
NS_DECL_ISUPPORTS
14+
// XXX This needs to support threadsafe refcounting until we fix bug 243591.
15+
NS_DECL_THREADSAFE_ISUPPORTS
1516
NS_DECL_NSIINTERFACEREQUESTOR
1617

1718
nsInterfaceRequestorAgg(nsIInterfaceRequestor *aFirst,
@@ -32,8 +33,7 @@ class nsInterfaceRequestorAgg MOZ_FINAL : public nsIInterfaceRequestor
3233
nsCOMPtr<nsIEventTarget> mConsumerTarget;
3334
};
3435

35-
// XXX This needs to support threadsafe refcounting until we fix bug 243591.
36-
NS_IMPL_THREADSAFE_ISUPPORTS1(nsInterfaceRequestorAgg, nsIInterfaceRequestor)
36+
NS_IMPL_ISUPPORTS1(nsInterfaceRequestorAgg, nsIInterfaceRequestor)
3737

3838
NS_IMETHODIMP
3939
nsInterfaceRequestorAgg::GetInterface(const nsIID &aIID, void **aResult)

xpcom/base/nsMemoryInfoDumper.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ class FdWatcher : public MessageLoopForIO::Watcher
191191
virtual void OnFileCanReadWithoutBlocking(int aFd) = 0;
192192
virtual void OnFileCanWriteWithoutBlocking(int aFd) {};
193193

194-
NS_DECL_ISUPPORTS
194+
NS_DECL_THREADSAFE_ISUPPORTS
195195

196196
/**
197197
* Initialize this object. This should be called right after the object is
@@ -258,7 +258,7 @@ class FdWatcher : public MessageLoopForIO::Watcher
258258
}
259259
};
260260

261-
NS_IMPL_THREADSAFE_ISUPPORTS1(FdWatcher, nsIObserver);
261+
NS_IMPL_ISUPPORTS1(FdWatcher, nsIObserver);
262262

263263
class SignalPipeWatcher : public FdWatcher
264264
{

xpcom/base/nsMemoryReporterManager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ NS_IMPL_ISUPPORTS1(DMDMultiReporter, nsIMemoryMultiReporter)
682682
** nsMemoryReporterManager implementation
683683
**/
684684

685-
NS_IMPL_THREADSAFE_ISUPPORTS1(nsMemoryReporterManager, nsIMemoryReporterManager)
685+
NS_IMPL_ISUPPORTS1(nsMemoryReporterManager, nsIMemoryReporterManager)
686686

687687
NS_IMETHODIMP
688688
nsMemoryReporterManager::Init()
@@ -1199,7 +1199,7 @@ nsMemoryReporterManager::MinimizeMemoryUsage(nsIRunnable* aCallback,
11991199
// Most memory reporters don't need thread safety, but some do. Make them all
12001200
// thread-safe just to be safe. Memory reporters are created and destroyed
12011201
// infrequently enough that the performance cost should be negligible.
1202-
NS_IMPL_THREADSAFE_ISUPPORTS1(MemoryReporterBase, nsIMemoryReporter)
1202+
NS_IMPL_ISUPPORTS1(MemoryReporterBase, nsIMemoryReporter)
12031203

12041204
nsresult
12051205
NS_RegisterMemoryReporter (nsIMemoryReporter *reporter)

xpcom/base/nsMemoryReporterManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ using mozilla::Mutex;
1616
class nsMemoryReporterManager : public nsIMemoryReporterManager
1717
{
1818
public:
19-
NS_DECL_ISUPPORTS
19+
NS_DECL_THREADSAFE_ISUPPORTS
2020
NS_DECL_NSIMEMORYREPORTERMANAGER
2121

2222
nsMemoryReporterManager();

xpcom/base/nsUUIDGenerator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
using namespace mozilla;
2121

22-
NS_IMPL_THREADSAFE_ISUPPORTS1(nsUUIDGenerator, nsIUUIDGenerator)
22+
NS_IMPL_ISUPPORTS1(nsUUIDGenerator, nsIUUIDGenerator)
2323

2424
nsUUIDGenerator::nsUUIDGenerator()
2525
: mLock("nsUUIDGenerator.mLock")

xpcom/base/nsUUIDGenerator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class nsUUIDGenerator MOZ_FINAL : public nsIUUIDGenerator {
1515
public:
1616
nsUUIDGenerator();
1717

18-
NS_DECL_ISUPPORTS
18+
NS_DECL_THREADSAFE_ISUPPORTS
1919

2020
NS_DECL_NSIUUIDGENERATOR
2121

xpcom/components/ModuleUtils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class GenericModule MOZ_FINAL : public nsIModule
110110
{
111111
}
112112

113-
NS_DECL_ISUPPORTS
113+
NS_DECL_THREADSAFE_ISUPPORTS
114114
NS_DECL_NSIMODULE
115115

116116
private:

xpcom/components/nsComponentManager.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -834,12 +834,12 @@ nsComponentManagerImpl::~nsComponentManagerImpl()
834834
PR_LOG(nsComponentManagerLog, PR_LOG_DEBUG, ("nsComponentManager: Destroyed."));
835835
}
836836

837-
NS_IMPL_THREADSAFE_ISUPPORTS5(nsComponentManagerImpl,
838-
nsIComponentManager,
839-
nsIServiceManager,
840-
nsIComponentRegistrar,
841-
nsISupportsWeakReference,
842-
nsIInterfaceRequestor)
837+
NS_IMPL_ISUPPORTS5(nsComponentManagerImpl,
838+
nsIComponentManager,
839+
nsIServiceManager,
840+
nsIComponentRegistrar,
841+
nsISupportsWeakReference,
842+
nsIInterfaceRequestor)
843843

844844

845845
nsresult

xpcom/components/nsComponentManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class nsComponentManagerImpl MOZ_FINAL
126126
, public nsIInterfaceRequestor
127127
{
128128
public:
129-
NS_DECL_ISUPPORTS
129+
NS_DECL_THREADSAFE_ISUPPORTS
130130
NS_DECL_NSIINTERFACEREQUESTOR
131131
NS_DECL_NSICOMPONENTMANAGER
132132
NS_DECL_NSICOMPONENTREGISTRAR

xpcom/ds/nsAtomService.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
#include "nsAtomService.h"
77

8-
NS_IMPL_THREADSAFE_ISUPPORTS1(nsAtomService, nsIAtomService)
8+
NS_IMPL_ISUPPORTS1(nsAtomService, nsIAtomService)
99

1010
nsAtomService::nsAtomService()
1111
{

xpcom/ds/nsAtomService.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class nsAtomService MOZ_FINAL : public nsIAtomService
1313
{
1414
public:
1515
nsAtomService();
16-
NS_DECL_ISUPPORTS
16+
NS_DECL_THREADSAFE_ISUPPORTS
1717

1818
NS_DECL_NSIATOMSERVICE
1919

xpcom/ds/nsHashPropertyBag.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ NS_NewHashPropertyBag(nsIWritablePropertyBag* *_retval)
3636
* nsHashPropertyBag impl
3737
*/
3838

39-
NS_IMPL_THREADSAFE_ADDREF(nsHashPropertyBag)
40-
NS_IMPL_THREADSAFE_RELEASE(nsHashPropertyBag)
39+
NS_IMPL_ADDREF(nsHashPropertyBag)
40+
NS_IMPL_RELEASE(nsHashPropertyBag)
4141
NS_INTERFACE_MAP_BEGIN(nsHashPropertyBag)
4242
NS_INTERFACE_MAP_ENTRY(nsIWritablePropertyBag)
4343
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsIPropertyBag, nsIWritablePropertyBag)

xpcom/ds/nsHashPropertyBag.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class nsHashPropertyBag : public nsIWritablePropertyBag
2323

2424
nsresult Init();
2525

26-
NS_DECL_ISUPPORTS
26+
NS_DECL_THREADSAFE_ISUPPORTS
2727

2828
NS_DECL_NSIPROPERTYBAG
2929

xpcom/ds/nsObserverService.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ GetObserverServiceLog()
4848
// nsObserverService Implementation
4949

5050

51-
NS_IMPL_THREADSAFE_ISUPPORTS2(nsObserverService, nsIObserverService, nsObserverService)
51+
NS_IMPL_ISUPPORTS2(nsObserverService, nsIObserverService, nsObserverService)
5252

5353
nsObserverService::nsObserverService() :
5454
mShuttingDown(false)

xpcom/ds/nsObserverService.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class nsObserverService MOZ_FINAL : public nsIObserverService {
2121

2222
nsObserverService();
2323

24-
NS_DECL_ISUPPORTS
24+
NS_DECL_THREADSAFE_ISUPPORTS
2525
NS_DECL_NSIOBSERVERSERVICE
2626

2727
void Shutdown();

xpcom/ds/nsPersistentProperties.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ nsPersistentProperties::Create(nsISupports *aOuter, REFNSIID aIID, void **aResul
494494
return rv;
495495
}
496496

497-
NS_IMPL_THREADSAFE_ISUPPORTS2(nsPersistentProperties, nsIPersistentProperties, nsIProperties)
497+
NS_IMPL_ISUPPORTS2(nsPersistentProperties, nsIPersistentProperties, nsIProperties)
498498

499499
NS_IMETHODIMP
500500
nsPersistentProperties::Load(nsIInputStream *aIn)

xpcom/ds/nsPersistentProperties.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class nsPersistentProperties MOZ_FINAL : public nsIPersistentProperties
2222
nsPersistentProperties();
2323
nsresult Init();
2424

25-
NS_DECL_ISUPPORTS
25+
NS_DECL_THREADSAFE_ISUPPORTS
2626
NS_DECL_NSIPROPERTIES
2727
NS_DECL_NSIPERSISTENTPROPERTIES
2828

xpcom/ds/nsSupportsArray.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ nsSupportsArray::Create(nsISupports *aOuter, REFNSIID aIID, void **aResult)
174174
return it->QueryInterface(aIID, aResult);
175175
}
176176

177-
NS_IMPL_THREADSAFE_ISUPPORTS3(nsSupportsArray, nsISupportsArray, nsICollection, nsISerializable)
177+
NS_IMPL_ISUPPORTS3(nsSupportsArray, nsISupportsArray, nsICollection, nsISerializable)
178178

179179
NS_IMETHODIMP
180180
nsSupportsArray::Read(nsIObjectInputStream *aStream)

xpcom/ds/nsSupportsArray.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class nsSupportsArray MOZ_FINAL : public nsISupportsArray {
2121
static nsresult
2222
Create(nsISupports *aOuter, REFNSIID aIID, void **aResult);
2323

24-
NS_DECL_ISUPPORTS
24+
NS_DECL_THREADSAFE_ISUPPORTS
2525

2626
NS_DECL_NSISERIALIZABLE
2727

xpcom/ds/nsSupportsPrimitives.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ NS_IMETHODIMP nsSupportsStringImpl::SetData(const nsAString& aData)
146146

147147
/***************************************************************************/
148148

149-
NS_IMPL_THREADSAFE_ISUPPORTS2(nsSupportsPRBoolImpl, nsISupportsPRBool,
150-
nsISupportsPrimitive)
149+
NS_IMPL_ISUPPORTS2(nsSupportsPRBoolImpl, nsISupportsPRBool,
150+
nsISupportsPrimitive)
151151

152152
nsSupportsPRBoolImpl::nsSupportsPRBoolImpl()
153153
: mData(false)
@@ -683,8 +683,8 @@ NS_IMETHODIMP nsSupportsDoubleImpl::ToString(char **_retval)
683683
/***************************************************************************/
684684

685685

686-
NS_IMPL_THREADSAFE_ISUPPORTS2(nsSupportsVoidImpl, nsISupportsVoid,
687-
nsISupportsPrimitive)
686+
NS_IMPL_ISUPPORTS2(nsSupportsVoidImpl, nsISupportsVoid,
687+
nsISupportsPrimitive)
688688

689689
nsSupportsVoidImpl::nsSupportsVoidImpl()
690690
: mData(nullptr)
@@ -725,9 +725,9 @@ NS_IMETHODIMP nsSupportsVoidImpl::ToString(char **_retval)
725725
/***************************************************************************/
726726

727727

728-
NS_IMPL_THREADSAFE_ISUPPORTS2(nsSupportsInterfacePointerImpl,
729-
nsISupportsInterfacePointer,
730-
nsISupportsPrimitive)
728+
NS_IMPL_ISUPPORTS2(nsSupportsInterfacePointerImpl,
729+
nsISupportsInterfacePointer,
730+
nsISupportsPrimitive)
731731

732732
nsSupportsInterfacePointerImpl::nsSupportsInterfacePointerImpl()
733733
: mIID(nullptr)

0 commit comments

Comments
 (0)