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

This commit is contained in:
Bill McCloskey
2011-02-04 10:59:07 -08:00
parent e397f197d2
commit 6dbb83197d
19 changed files with 485 additions and 672 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;
}