зеркало из https://github.com/mozilla/gecko-dev.git
Bug 884061 - Part 3e: Use NS_DECL_THREADSAFE_ISUPPORTS in docshell/, r=bz
--HG-- extra : rebase_source : dbc05e56fa9eb1ef273f40bd3278ccdea818df9a
This commit is contained in:
Родитель
e5e0a1f2f3
Коммит
a7b443c4d3
|
@ -52,8 +52,8 @@ nsDSURIContentListener::Init()
|
||||||
// nsDSURIContentListener::nsISupports
|
// nsDSURIContentListener::nsISupports
|
||||||
//*****************************************************************************
|
//*****************************************************************************
|
||||||
|
|
||||||
NS_IMPL_THREADSAFE_ADDREF(nsDSURIContentListener)
|
NS_IMPL_ADDREF(nsDSURIContentListener)
|
||||||
NS_IMPL_THREADSAFE_RELEASE(nsDSURIContentListener)
|
NS_IMPL_RELEASE(nsDSURIContentListener)
|
||||||
|
|
||||||
NS_INTERFACE_MAP_BEGIN(nsDSURIContentListener)
|
NS_INTERFACE_MAP_BEGIN(nsDSURIContentListener)
|
||||||
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIURIContentListener)
|
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIURIContentListener)
|
||||||
|
|
|
@ -23,7 +23,7 @@ class nsDSURIContentListener :
|
||||||
{
|
{
|
||||||
friend class nsDocShell;
|
friend class nsDocShell;
|
||||||
public:
|
public:
|
||||||
NS_DECL_ISUPPORTS
|
NS_DECL_THREADSAFE_ISUPPORTS
|
||||||
NS_DECL_NSIURICONTENTLISTENER
|
NS_DECL_NSIURICONTENTLISTENER
|
||||||
|
|
||||||
nsresult Init();
|
nsresult Init();
|
||||||
|
|
|
@ -11730,8 +11730,8 @@ nsRefreshTimer::~nsRefreshTimer()
|
||||||
// nsRefreshTimer::nsISupports
|
// nsRefreshTimer::nsISupports
|
||||||
//*****************************************************************************
|
//*****************************************************************************
|
||||||
|
|
||||||
NS_IMPL_THREADSAFE_ADDREF(nsRefreshTimer)
|
NS_IMPL_ADDREF(nsRefreshTimer)
|
||||||
NS_IMPL_THREADSAFE_RELEASE(nsRefreshTimer)
|
NS_IMPL_RELEASE(nsRefreshTimer)
|
||||||
|
|
||||||
NS_INTERFACE_MAP_BEGIN(nsRefreshTimer)
|
NS_INTERFACE_MAP_BEGIN(nsRefreshTimer)
|
||||||
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsITimerCallback)
|
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsITimerCallback)
|
||||||
|
@ -11770,7 +11770,7 @@ nsDocShell::InterfaceRequestorProxy::~InterfaceRequestorProxy()
|
||||||
mWeakPtr = nullptr;
|
mWeakPtr = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsDocShell::InterfaceRequestorProxy, nsIInterfaceRequestor)
|
NS_IMPL_ISUPPORTS1(nsDocShell::InterfaceRequestorProxy, nsIInterfaceRequestor)
|
||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsDocShell::InterfaceRequestorProxy::GetInterface(const nsIID & aIID, void **aSink)
|
nsDocShell::InterfaceRequestorProxy::GetInterface(const nsIID & aIID, void **aSink)
|
||||||
|
|
|
@ -109,7 +109,7 @@ class nsRefreshTimer : public nsITimerCallback
|
||||||
public:
|
public:
|
||||||
nsRefreshTimer();
|
nsRefreshTimer();
|
||||||
|
|
||||||
NS_DECL_ISUPPORTS
|
NS_DECL_THREADSAFE_ISUPPORTS
|
||||||
NS_DECL_NSITIMERCALLBACK
|
NS_DECL_NSITIMERCALLBACK
|
||||||
|
|
||||||
int32_t GetDelay() { return mDelay ;}
|
int32_t GetDelay() { return mDelay ;}
|
||||||
|
@ -899,7 +899,7 @@ public:
|
||||||
public:
|
public:
|
||||||
InterfaceRequestorProxy(nsIInterfaceRequestor* p);
|
InterfaceRequestorProxy(nsIInterfaceRequestor* p);
|
||||||
virtual ~InterfaceRequestorProxy();
|
virtual ~InterfaceRequestorProxy();
|
||||||
NS_DECL_ISUPPORTS
|
NS_DECL_THREADSAFE_ISUPPORTS
|
||||||
NS_DECL_NSIINTERFACEREQUESTOR
|
NS_DECL_NSIINTERFACEREQUESTOR
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче