removing unneeded lock.

This commit is contained in:
dougt%netscape.com 2000-02-03 02:37:51 +00:00
parent f3546051ed
commit 9a70a79c48
2 changed files with 0 additions and 7 deletions

View File

@ -95,8 +95,6 @@ public:
nsISupports* GetRealObject();
nsIEventQueue* GetQueue();
PRInt32 GetProxyType() const { return mProxyType; }
PRLock* GetLock() const { return mLock; }
private:
@ -106,9 +104,7 @@ private:
nsCOMPtr<nsISupports> mRealObject; /* the non-proxy object that this event is referring to.
This is a strong ref. */
PRLock *mLock;
nsresult convertMiniVariantToVariant(nsXPTMethodInfo * methodInfo,
nsXPTCMiniVariant * params,
nsXPTCVariant **fullParam,

View File

@ -215,7 +215,6 @@ nsProxyObject::nsProxyObject(nsIEventQueue *destQueue, PRInt32 proxyType, nsISup
mRealObject = realObject;
mDestQueue = do_QueryInterface(destQueue);
mProxyType = proxyType;
mLock = PR_NewLock();
}
@ -230,7 +229,6 @@ nsProxyObject::nsProxyObject(nsIEventQueue *destQueue, PRInt32 proxyType, const
mDestQueue = do_QueryInterface(destQueue);
mProxyType = proxyType;
mLock = PR_NewLock();
}
nsProxyObject::~nsProxyObject()
@ -240,7 +238,6 @@ nsProxyObject::~nsProxyObject()
mRealObject = 0;
mDestQueue = 0;
PR_DestroyLock(mLock);
}
// GetRealObject