зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
f89c41cf4a
Коммит
d760e8c090
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче