зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1018107 - Use the CC macros for nsXULPrototypeDocument::mPrototypeWaiters; r=mrbkap
This commit is contained in:
Родитель
9f8242b9b4
Коммит
c8b74c7c1e
|
@ -69,7 +69,7 @@ nsXULPrototypeDocument::~nsXULPrototypeDocument()
|
|||
NS_IMPL_CYCLE_COLLECTION_CLASS(nsXULPrototypeDocument)
|
||||
|
||||
NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN(nsXULPrototypeDocument)
|
||||
tmp->mPrototypeWaiters.Clear();
|
||||
NS_IMPL_CYCLE_COLLECTION_UNLINK(mPrototypeWaiters)
|
||||
NS_IMPL_CYCLE_COLLECTION_UNLINK_END
|
||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN(nsXULPrototypeDocument)
|
||||
if (nsCCUncollectableMarker::InGeneration(cb, tmp->mCCGeneration)) {
|
||||
|
@ -77,10 +77,7 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN(nsXULPrototypeDocument)
|
|||
}
|
||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mRoot)
|
||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mNodeInfoManager)
|
||||
for (uint32_t i = 0; i < tmp->mPrototypeWaiters.Length(); ++i) {
|
||||
NS_CYCLE_COLLECTION_NOTE_EDGE_NAME(cb, "mPrototypeWaiters[i]");
|
||||
cb.NoteXPCOMChild(static_cast<nsINode*>(tmp->mPrototypeWaiters[i].get()));
|
||||
}
|
||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mPrototypeWaiters)
|
||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END
|
||||
|
||||
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsXULPrototypeDocument)
|
||||
|
|
Загрузка…
Ссылка в новой задаче