diff --git a/uriloader/base/nsDocLoader.cpp b/uriloader/base/nsDocLoader.cpp index ee46dce5fcb1..2d05a7072777 100644 --- a/uriloader/base/nsDocLoader.cpp +++ b/uriloader/base/nsDocLoader.cpp @@ -159,8 +159,8 @@ nsDocLoaderImpl::~nsDocLoaderImpl() /* * Implementation of ISupports methods... */ -NS_IMPL_ADDREF(nsDocLoaderImpl); -NS_IMPL_RELEASE(nsDocLoaderImpl); +NS_IMPL_THREADSAFE_ADDREF(nsDocLoaderImpl) +NS_IMPL_THREADSAFE_RELEASE(nsDocLoaderImpl) NS_INTERFACE_MAP_BEGIN(nsDocLoaderImpl) NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIStreamObserver)