Bug 744103, part 2 - Change NoteScriptChild to NoteJSChild. r=smaug

This commit is contained in:
Andrew McCreight
2012-05-03 12:28:10 -07:00
parent bd76da3bba
commit b0785e2034
17 changed files with 75 additions and 101 deletions

View File

@@ -39,13 +39,12 @@
#include "nsCOMPtr.h"
static void
NoteChild(PRUint32 aLangID, void *aScriptThing, const char *name,
void *aClosure)
NoteChild(void *aScriptThing, const char *name, void *aClosure)
{
nsCycleCollectionTraversalCallback *cb =
static_cast<nsCycleCollectionTraversalCallback*>(aClosure);
NS_CYCLE_COLLECTION_NOTE_EDGE_NAME(*cb, name);
cb->NoteScriptChild(aLangID, aScriptThing);
cb->NoteJSChild(aScriptThing);
}
void