зеркало из https://github.com/mozilla/gecko-dev.git
Fix bogus debug assertions from bug 484692 r+sr=peterv
This commit is contained in:
Родитель
d9fe768849
Коммит
bd4e61360d
|
@ -301,7 +301,7 @@ XPCWrappedNative::GetNewOrUsed(XPCCallContext& ccx,
|
|||
NS_ASSERTION(!Scope->GetRuntime()->GetThreadRunningGC(),
|
||||
"XPCWrappedNative::GetNewOrUsed called during GC");
|
||||
{
|
||||
nsWrapperCache *cache2;
|
||||
nsWrapperCache *cache2 = nsnull;
|
||||
CallQueryInterface(Object, &cache2);
|
||||
NS_ASSERTION(!cache == !cache2, "Caller should pass in the cache!");
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче