Bug 353187. GetIndexInParent() broken for combo boxes. Patch by Nian Liu, r=aaronlev
git-svn-id: svn://10.0.0.236/trunk@212293 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -975,6 +975,7 @@ NS_IMETHODIMP nsHTMLComboboxTextFieldAccessible::GetNextSibling(nsIAccessible **
|
||||
if (!*aNextSibling)
|
||||
return NS_ERROR_FAILURE;
|
||||
accessible->Init();
|
||||
mNextSibling = accessible;
|
||||
}
|
||||
NS_ADDREF(*aNextSibling);
|
||||
return NS_OK;
|
||||
@@ -1227,6 +1228,7 @@ NS_IMETHODIMP nsHTMLComboboxButtonAccessible::GetNextSibling(nsIAccessible **aNe
|
||||
if (!*aNextSibling)
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
accessible->Init();
|
||||
mNextSibling = accessible;
|
||||
}
|
||||
NS_ADDREF(*aNextSibling);
|
||||
return NS_OK;
|
||||
|
||||
Reference in New Issue
Block a user