Bug 744103, part 2 - Change NoteScriptChild to NoteJSChild. r=smaug
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user