Bug 1235598 - Part 2: Use TraceEdge exclusively in Gecko; r=smaug

This commit is contained in:
Terrence Cole
2015-12-30 08:52:14 -08:00
parent 2e1caf0010
commit f66b486531
12 changed files with 25 additions and 40 deletions

View File

@@ -35,10 +35,8 @@ IdToObjectMap::init()
void
IdToObjectMap::trace(JSTracer* trc)
{
for (Table::Range r(table_.all()); !r.empty(); r.popFront()) {
DebugOnly<JSObject*> prior = r.front().value().get();
JS_CallObjectTracer(trc, &r.front().value(), "ipc-object");
}
for (Table::Range r(table_.all()); !r.empty(); r.popFront())
JS::TraceEdge(trc, &r.front().value(), "ipc-object");
}
void