mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 20:49:27 +00:00
part of the fix to bug 66950. For xpconnect the class we mixin to sometimes needs to know if any weak references are outstanding. r=rogerl sr=brendan
This commit is contained in:
parent
1f75c2d2c3
commit
7c04b7e112
@ -55,6 +55,7 @@ class NS_COM nsSupportsWeakReference : public nsISupportsWeakReference
|
||||
protected:
|
||||
|
||||
inline void ClearWeakReferences();
|
||||
PRBool HasWeakReferences() const {return mProxy != 0;}
|
||||
};
|
||||
|
||||
class NS_COM nsWeakReference : public nsIWeakReference
|
||||
|
@ -55,6 +55,7 @@ class NS_COM nsSupportsWeakReference : public nsISupportsWeakReference
|
||||
protected:
|
||||
|
||||
inline void ClearWeakReferences();
|
||||
PRBool HasWeakReferences() const {return mProxy != 0;}
|
||||
};
|
||||
|
||||
class NS_COM nsWeakReference : public nsIWeakReference
|
||||
|
Loading…
x
Reference in New Issue
Block a user