got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in
git-svn-id: svn://10.0.0.236/trunk@44139 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -119,7 +119,7 @@ nsThread::Exit(void* arg)
|
||||
NS_RELEASE(self);
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS(nsThread, nsIThread::GetIID());
|
||||
NS_IMPL_ISUPPORTS1(nsThread, nsIThread)
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsThread::Join()
|
||||
@@ -367,7 +367,7 @@ nsThreadPool::~nsThreadPool()
|
||||
}
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS(nsThreadPool, nsIThreadPool::GetIID());
|
||||
NS_IMPL_ISUPPORTS1(nsThreadPool, nsIThreadPool)
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsThreadPool::DispatchRequest(nsIRunnable* runnable)
|
||||
@@ -540,7 +540,7 @@ nsThreadPoolRunnable::~nsThreadPoolRunnable()
|
||||
NS_RELEASE(mPool);
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS(nsThreadPoolRunnable, nsIRunnable::GetIID());
|
||||
NS_IMPL_ISUPPORTS1(nsThreadPoolRunnable, nsIRunnable)
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsThreadPoolRunnable::Run()
|
||||
|
||||
Reference in New Issue
Block a user