Bug 488249 more build bustage fixes

This commit is contained in:
Boris Zbarsky 2009-08-24 17:11:35 -04:00
Родитель 03ca855cdc
Коммит a92c5173aa
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -1049,7 +1049,7 @@ nsAccessible::GetStateInternal(PRUint32 *aState, PRUint32 *aExtraState)
*aState |= nsIAccessibleStates::STATE_FLOATING;
// Check if a XUL element has the popup attribute (an attached popup menu).
if (content->IsNodeOfType(nsINode::eXUL))
if (content->IsXUL())
if (content->HasAttr(kNameSpaceID_None, nsAccessibilityAtoms::popup))
*aState |= nsIAccessibleStates::STATE_HASPOPUP;
@ -3228,7 +3228,7 @@ nsAccessible::GetActionRule(PRUint32 aStates)
return eJumpAction;
// Return "click" action on elements that have an attached popup menu.
if (content->IsNodeOfType(nsINode::eXUL))
if (content->IsXUL())
if (content->HasAttr(kNameSpaceID_None, nsAccessibilityAtoms::popup))
return eClickAction;