Fix bogus debug assertions from bug 484692 r+sr=peterv

This commit is contained in:
Neil Rashbrook 2009-03-25 13:12:13 +00:00
Родитель d9fe768849
Коммит bd4e61360d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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!");
}