mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
removing unneeded lock.
This commit is contained in:
parent
f3546051ed
commit
9a70a79c48
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user