Bug 1326507, rename Traverse to TraverseNative, r=mccr8
This commit is contained in:
@@ -296,8 +296,8 @@ CheckParticipatesInCycleCollection(JS::GCCellPtr aThing, const char* aName,
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
JSGCThingParticipant::Traverse(void* aPtr,
|
||||
nsCycleCollectionTraversalCallback& aCb)
|
||||
JSGCThingParticipant::TraverseNative(void* aPtr,
|
||||
nsCycleCollectionTraversalCallback& aCb)
|
||||
{
|
||||
auto runtime = reinterpret_cast<CycleCollectedJSContext*>(
|
||||
reinterpret_cast<char*>(this) - offsetof(CycleCollectedJSContext,
|
||||
@@ -313,7 +313,8 @@ JSGCThingParticipant::Traverse(void* aPtr,
|
||||
static JSGCThingParticipant sGCThingCycleCollectorGlobal;
|
||||
|
||||
NS_IMETHODIMP
|
||||
JSZoneParticipant::Traverse(void* aPtr, nsCycleCollectionTraversalCallback& aCb)
|
||||
JSZoneParticipant::TraverseNative(void* aPtr,
|
||||
nsCycleCollectionTraversalCallback& aCb)
|
||||
{
|
||||
auto runtime = reinterpret_cast<CycleCollectedJSContext*>(
|
||||
reinterpret_cast<char*>(this) - offsetof(CycleCollectedJSContext,
|
||||
|
||||
Reference in New Issue
Block a user