Bug 609104 - Move the property tree to the compartment (r=brendan)

This commit is contained in:
Bill McCloskey
2011-01-27 15:46:39 -08:00
parent 35dd060bfa
commit d966d51cb6
18 changed files with 460 additions and 660 deletions

View File

@@ -427,7 +427,7 @@ NewIteratorObject(JSContext *cx, uintN flags)
if (!obj)
return false;
obj->init(cx, &js_IteratorClass, NULL, NULL, NULL, false);
obj->setMap(cx->runtime->emptyEnumeratorShape);
obj->setMap(cx->compartment->emptyEnumeratorShape);
return obj;
}