mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 884061 - Part 3z: Use NS_DECL_THREADSAFE_ISUPPORTS in xpfe/, r=Neil
--HG-- extra : rebase_source : a1e6681133934750015ec03c0f6a70122ec74b19
This commit is contained in:
parent
03b669f709
commit
60759297ee
@ -453,7 +453,7 @@ public:
|
||||
: mWindow(aWindow)
|
||||
{}
|
||||
|
||||
NS_DECL_ISUPPORTS
|
||||
NS_DECL_THREADSAFE_ISUPPORTS
|
||||
|
||||
NS_IMETHOD Notify(nsITimer* aTimer)
|
||||
{
|
||||
@ -469,10 +469,7 @@ private:
|
||||
nsRefPtr<nsWebShellWindow> mWindow;
|
||||
};
|
||||
|
||||
NS_IMPL_THREADSAFE_ADDREF(WebShellWindowTimerCallback)
|
||||
NS_IMPL_THREADSAFE_RELEASE(WebShellWindowTimerCallback)
|
||||
NS_IMPL_THREADSAFE_QUERY_INTERFACE1(WebShellWindowTimerCallback,
|
||||
nsITimerCallback)
|
||||
NS_IMPL_ISUPPORTS1(WebShellWindowTimerCallback, nsITimerCallback)
|
||||
|
||||
} // namespace mozilla
|
||||
|
||||
|
@ -116,8 +116,8 @@ nsXULWindow::~nsXULWindow()
|
||||
// nsXULWindow::nsISupports
|
||||
//*****************************************************************************
|
||||
|
||||
NS_IMPL_THREADSAFE_ADDREF(nsXULWindow)
|
||||
NS_IMPL_THREADSAFE_RELEASE(nsXULWindow)
|
||||
NS_IMPL_ADDREF(nsXULWindow)
|
||||
NS_IMPL_RELEASE(nsXULWindow)
|
||||
|
||||
NS_INTERFACE_MAP_BEGIN(nsXULWindow)
|
||||
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIXULWindow)
|
||||
|
@ -59,7 +59,7 @@ friend class nsChromeTreeOwner;
|
||||
friend class nsContentTreeOwner;
|
||||
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
NS_DECL_THREADSAFE_ISUPPORTS
|
||||
|
||||
NS_DECL_NSIINTERFACEREQUESTOR
|
||||
NS_DECL_NSIXULWINDOW
|
||||
|
Loading…
Reference in New Issue
Block a user