mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix bustage from bc9768d92d2f (bug 1005978).
This commit is contained in:
parent
35609629d2
commit
77108dd07e
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user