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 004ff0edc6
commit c490c6a9ff
17 changed files with 430 additions and 652 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;
}