removing unneeded lock.
git-svn-id: svn://10.0.0.236/trunk@59607 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user