Fix build bustage?

This commit is contained in:
bzbarsky%mit.edu 2005-01-25 20:29:23 +00:00
parent 159a4274d7
commit 27dda0bbd2

View File

@ -518,7 +518,7 @@ nsIFrame* nsHTMLSelectOptionAccessible::GetBoundsFrame()
if (NS_SUCCEEDED(accService->GetAccessibleFor(selectNode,
getter_AddRefs(selAcc)))) {
PRUint32 state;
selAcc->GetFinalState(&state);
selAcc->GetState(&state);
if (state & STATE_COLLAPSED) {
nsCOMPtr<nsIPresShell> presShell(GetPresShell());
if (!presShell) {
@ -879,7 +879,7 @@ NS_IMETHODIMP nsHTMLComboboxAccessible::GetValue(nsAString& aValue)
nsCOMPtr<nsIAccessible> textFieldAccessible;
nsresult rv = GetFirstChild(getter_AddRefs(textFieldAccessible));
NS_ENSURE_SUCCESS(rv, rv);
return textFieldAccessible->GetFinalValue(aValue);
return textFieldAccessible->GetValue(aValue);
}
/** ----- nsHTMLComboboxTextFieldAccessible ----- */