зеркало из https://github.com/mozilla/pjs.git
assertion fix for bug 429617 - Crash [@ nsAccessNode::ClearCacheEntry(void const*, nsCOMPtr<nsIAccessNode>&, void*) ]
This commit is contained in:
Родитель
f844b3cb02
Коммит
81b99103f0
|
@ -794,7 +794,7 @@ nsAccessNode::GetCacheEntry(nsAccessNodeHashtable& aCache,
|
|||
|
||||
PLDHashOperator nsAccessNode::ClearCacheEntry(const void* aKey, nsCOMPtr<nsIAccessNode>& aAccessNode, void* aUserArg)
|
||||
{
|
||||
NS_ASSERTION(!aAccessNode, "Calling ClearCacheEntry with a NULL pointer!");
|
||||
NS_ASSERTION(aAccessNode, "Calling ClearCacheEntry with a NULL pointer!");
|
||||
if (aAccessNode) {
|
||||
nsCOMPtr<nsPIAccessNode> privateAccessNode(do_QueryInterface(aAccessNode));
|
||||
privateAccessNode->Shutdown();
|
||||
|
|
Загрузка…
Ссылка в новой задаче