Fix a non-libxul accessibility build bustage (regression from bug 598238); r=davidb a=bustagefix

This commit is contained in:
Ehsan Akhgari 2010-10-08 12:15:53 -04:00
Родитель 407c290d6c
Коммит f1cc1e4edd
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -89,7 +89,7 @@ nsHTMLSelectListAccessible::GetStateInternal(PRUint32 *aState,
*aState &= ~nsIAccessibleStates::STATE_FOCUSED;
}
}
if (mContent->HasAttr(kNameSpaceID_None, nsGkAtoms::multiple))
if (mContent->HasAttr(kNameSpaceID_None, nsAccessibilityAtoms::multiple))
*aState |= nsIAccessibleStates::STATE_MULTISELECTABLE |
nsIAccessibleStates::STATE_EXTSELECTABLE;
@ -117,14 +117,14 @@ nsHTMLSelectListAccessible::IsSelect()
bool
nsHTMLSelectListAccessible::SelectAll()
{
return mContent->HasAttr(kNameSpaceID_None, nsGkAtoms::multiple) ?
return mContent->HasAttr(kNameSpaceID_None, nsAccessibilityAtoms::multiple) ?
nsAccessibleWrap::SelectAll() : false;
}
bool
nsHTMLSelectListAccessible::UnselectAll()
{
return mContent->HasAttr(kNameSpaceID_None, nsGkAtoms::multiple) ?
return mContent->HasAttr(kNameSpaceID_None, nsAccessibilityAtoms::multiple) ?
nsAccessibleWrap::UnselectAll() : false;
}