Bug 981218 - Remove default compartment objects. r=luke

\o/
This commit is contained in:
Bobby Holley
2014-08-21 17:13:51 -07:00
parent c04fe41556
commit 5e56e20a5f
14 changed files with 2 additions and 103 deletions

View File

@@ -96,7 +96,6 @@ static JSObject *
CreateObjectPrototype(JSContext *cx, JSProtoKey key)
{
Rooted<GlobalObject*> self(cx, cx->global());
cx->setDefaultCompartmentObjectIfUnset(self);
JS_ASSERT(!cx->runtime()->isAtomsCompartment(cx->compartment()));
JS_ASSERT(self->isNative());