Backed out changeset 017d3e4e80bf (bug 940505)

This commit is contained in:
Ed Morley 2013-11-20 16:38:04 +00:00
parent fd234eb2fb
commit 9c83adc750

View File

@ -646,7 +646,7 @@ public:
return p->value;
if (!mTable.add(p, key, value))
return nullptr;
MOZ_ASSERT(xpc::GetCompartmentPrivate(key)->scope->mWaiverWrapperMap == this);
MOZ_ASSERT(xpc::GetObjectScope(key)->mWaiverWrapperMap == this);
JS_StoreObjectPostBarrierCallback(cx, KeyMarkCallback, key, this);
return value;
}