Fixing strange bustage on casey

This commit is contained in:
aaronleventhal%moonset.net 2004-06-04 22:30:42 +00:00
parent 0159845314
commit 947d97f011

View File

@ -185,8 +185,10 @@ NS_IMETHODIMP nsHTMLImageMapAccessible::GetURI(PRInt32 aIndex, nsIURI **aURI)
NS_IMETHODIMP nsHTMLImageMapAccessible::GetObject(PRInt32 aIndex, NS_IMETHODIMP nsHTMLImageMapAccessible::GetObject(PRInt32 aIndex,
nsIAccessible **aAccessible) nsIAccessible **aAccessible)
{ {
*aAccessible = CreateAreaAccessible(aIndex); nsCOMPtr<nsIAccessible> areaAccessible;
return NS_OK; nsresult rv = GetChildAt(aIndex, getter_AddRefs(areaAccessible));
NS_IF_ADDREF(*aAccessible = areaAccessible);
return rv;
} }
/* boolean isValid (); */ /* boolean isValid (); */