Fix bustage of bug 369260, null check

This commit is contained in:
ginn.chen%sun.com 2007-03-01 09:59:13 +00:00
parent d9e209b096
commit db3c3551d9

View File

@ -542,7 +542,9 @@ void nsDocAccessible::ShutdownChildDocuments(nsIDocShellTreeItem *aStart)
nsCOMPtr<nsIAccessibleDocument> docAccessible =
GetDocAccessibleFor(treeItemChild);
nsCOMPtr<nsPIAccessNode> accessNode = do_QueryInterface(docAccessible);
accessNode->Shutdown();
if (accessNode) {
accessNode->Shutdown();
}
}
}
}