From c5bde79421e424274c2f169a3aff2dd72f503a50 Mon Sep 17 00:00:00 2001 From: Ed Morley Date: Wed, 20 Nov 2013 16:38:04 +0000 Subject: [PATCH] Backed out changeset 017d3e4e80bf (bug 940505) --- js/xpconnect/src/XPCMaps.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/xpconnect/src/XPCMaps.h b/js/xpconnect/src/XPCMaps.h index 0cc7c358eaea..77bb18f3f947 100644 --- a/js/xpconnect/src/XPCMaps.h +++ b/js/xpconnect/src/XPCMaps.h @@ -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; }