Fix for bug 368773 (Add a bunch of DOM objects to cycle collection). r=sicking, sr=jst.

git-svn-id: svn://10.0.0.236/trunk@221534 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
peterv%propagandism.org
2007-03-08 11:17:16 +00:00
parent 97392b0e73
commit 4fff00b28c
64 changed files with 1114 additions and 294 deletions

View File

@@ -1028,6 +1028,14 @@ nsObjectLoadingContent::RemovedFromDocument()
}
}
void
nsObjectLoadingContent::Traverse(nsCycleCollectionTraversalCallback &cb)
{
if (mFrameLoader) {
cb.NoteXPCOMChild(mFrameLoader);
}
}
// <private>
/* static */ PRBool
nsObjectLoadingContent::IsSuccessfulRequest(nsIRequest* aRequest)