зеркало из https://github.com/mozilla/gecko-dev.git
Taking out the damn nsCOMPtr for nsThreadPool for Mac!
This commit is contained in:
Родитель
2bb4389148
Коммит
0f38c8859b
|
@ -523,10 +523,12 @@ nsThreadPoolRunnable::nsThreadPoolRunnable(nsThreadPool* pool)
|
|||
{
|
||||
NS_INIT_REFCNT();
|
||||
mPool = pool;
|
||||
NS_ADDREF(pool);
|
||||
}
|
||||
|
||||
nsThreadPoolRunnable::~nsThreadPoolRunnable()
|
||||
{
|
||||
NS_RELEASE(mPool);
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsThreadPoolRunnable, nsIRunnable)
|
||||
|
|
|
@ -108,7 +108,7 @@ public:
|
|||
virtual ~nsThreadPoolRunnable();
|
||||
|
||||
protected:
|
||||
nsCOMPtr<nsThreadPool> mPool;
|
||||
nsThreadPool* mPool;
|
||||
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче