bug 1243077 - remove an unnecessary AddRef() from xpcAccessible::GetChildren()

r=davidb
This commit is contained in:
Trevor Saunders 2016-01-22 06:26:43 -05:00
parent 30e045d74b
commit 92133430c8

View File

@ -139,7 +139,7 @@ xpcAccessible::GetChildren(nsIArray** aChildren)
children->AppendElement(static_cast<nsIAccessible*>(ToXPC(child)), false); children->AppendElement(static_cast<nsIAccessible*>(ToXPC(child)), false);
} }
NS_ADDREF(*aChildren = children); children.forget(aChildren);
return NS_OK; return NS_OK;
} }