Bug 342045 - solaris bustage fix, r=surkov

This commit is contained in:
Ginn Chen<ginn.chen@sun.com> 2009-12-12 03:39:08 +08:00
parent a3ff009b80
commit 08876c7904
2 changed files with 2 additions and 2 deletions

View File

@ -1073,7 +1073,7 @@ nsXULTreeItemAccessibleBase::GetStateInternal(PRUint32 *aState,
nsIAccessible*
nsXULTreeItemAccessibleBase::GetParent()
{
return IsDefunct() ? nsnull : mParent;
return IsDefunct() ? nsnull : mParent.get();
}
////////////////////////////////////////////////////////////////////////////////

View File

@ -1225,7 +1225,7 @@ nsXULTreeGridCellAccessible::GetStateInternal(PRUint32 *aStates,
nsIAccessible*
nsXULTreeGridCellAccessible::GetParent()
{
return IsDefunct() ? nsnull : mParent;
return IsDefunct() ? nsnull : mParent.get();
}
////////////////////////////////////////////////////////////////////////////////