Bug 1095117 - forward-declare cycle collection things in nsRefPtr.h; r=mccr8

This commit is contained in:
Nathan Froyd 2014-11-07 09:13:18 -05:00
parent 9b682e440d
commit 5d8f978d1f

View File

@ -9,8 +9,6 @@
#include "nsCOMPtr.h"
#include "nsCycleCollectionNoteChild.h"
/*****************************************************************************/
// template <class T> class nsRefPtrGetterAddRefs;
@ -294,6 +292,12 @@ public:
}
};
class nsCycleCollectionTraversalCallback;
template <typename T>
void
CycleCollectionNoteChild(nsCycleCollectionTraversalCallback& aCallback,
T* aChild, const char* aName, uint32_t aFlags);
template <typename T>
inline void
ImplCycleCollectionUnlink(nsRefPtr<T>& aField)