Bug 884061 - Part 3z: Use NS_DECL_THREADSAFE_ISUPPORTS in xpfe/, r=Neil

--HG--
extra : rebase_source : a1e6681133934750015ec03c0f6a70122ec74b19
This commit is contained in:
Joshua Cranmer 2013-07-18 21:31:36 -05:00
parent 03b669f709
commit 60759297ee
3 changed files with 5 additions and 8 deletions

View File

@ -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

View File

@ -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)

View File

@ -59,7 +59,7 @@ friend class nsChromeTreeOwner;
friend class nsContentTreeOwner;
public:
NS_DECL_ISUPPORTS
NS_DECL_THREADSAFE_ISUPPORTS
NS_DECL_NSIINTERFACEREQUESTOR
NS_DECL_NSIXULWINDOW