Bug 404461 - when I open JavaScript Debugger I get assertion: Can't get
mTree or mTreeView r=surkov.alexander a=mtschrep git-svn-id: svn://10.0.0.236/trunk@239825 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
df8b98dd96
commit
18718918c5
@ -516,17 +516,9 @@ nsIContent *nsAccessible::GetRoleContent(nsIDOMNode *aDOMNode)
|
||||
NS_IMETHODIMP nsAccessible::Shutdown()
|
||||
{
|
||||
mNextSibling = nsnull;
|
||||
// Make sure none of it's children point to this parent
|
||||
if (mFirstChild) {
|
||||
nsCOMPtr<nsIAccessible> current(mFirstChild), next;
|
||||
while (current) {
|
||||
nsCOMPtr<nsPIAccessible> privateAcc(do_QueryInterface(current));
|
||||
current->GetNextSibling(getter_AddRefs(next));
|
||||
privateAcc->SetParent(nsnull);
|
||||
current = next;
|
||||
}
|
||||
}
|
||||
// Now invalidate the child count and pointers to other accessibles
|
||||
|
||||
// Invalidate the child count and pointers to other accessibles, also make
|
||||
// sure none of it's children point to this parent
|
||||
InvalidateChildren();
|
||||
if (mParent) {
|
||||
nsCOMPtr<nsPIAccessible> privateParent(do_QueryInterface(mParent));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user