Fix bustage from bc9768d92d2f (bug 1005978).

This commit is contained in:
Peter Van der Beken 2014-05-13 11:28:39 +02:00
parent 35609629d2
commit 77108dd07e

View File

@ -81,7 +81,7 @@ XPCWrappedNativeScope::XPCWrappedNativeScope(JSContext *cx,
DebugOnly<const js::Class*> clasp = js::GetObjectClass(aGlobal); DebugOnly<const js::Class*> clasp = js::GetObjectClass(aGlobal);
MOZ_ASSERT(clasp->flags & (JSCLASS_PRIVATE_IS_NSISUPPORTS | MOZ_ASSERT(clasp->flags & (JSCLASS_PRIVATE_IS_NSISUPPORTS |
JSCLASS_HAS_PRIVATE) || JSCLASS_HAS_PRIVATE) ||
IsDOMClass(clasp)); mozilla::dom::IsDOMClass(clasp));
#ifdef DEBUG #ifdef DEBUG
for (XPCWrappedNativeScope* cur = gScopes; cur; cur = cur->mNext) for (XPCWrappedNativeScope* cur = gScopes; cur; cur = cur->mNext)
MOZ_ASSERT(aGlobal != cur->GetGlobalJSObjectPreserveColor(), "dup object"); MOZ_ASSERT(aGlobal != cur->GetGlobalJSObjectPreserveColor(), "dup object");