Bug 1326507, rename Traverse to TraverseNative, r=mccr8

This commit is contained in:
Olli Pettay
2017-01-03 21:50:10 +02:00
parent 3898f7d882
commit 35461cd3d9
5 changed files with 16 additions and 15 deletions

View File

@@ -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,