Commit c6a83b00 authored by aaronleventhal@moonset.net's avatar aaronleventhal@moonset.net
Browse files

Fixing bustage again

parent 870bce48
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -796,7 +796,9 @@ GetAttributeSet(nsIAccessible* aAccessible)
    
    if (attributes) {
        // Deal with attributes that we only need to expose in ATK
        if (State(aAccessible) & nsIAccessibleStates::STATE_HASPOPUP) {
        PRUint32 state;
        aAccessible->GetFinalState(&state);
        if (state & nsIAccessibleStates::STATE_HASPOPUP) {
          // There is no ATK state for haspopup, must use object attribute to expose the same info
          nsAutoString oldValueUnused;
          attributes->SetStringProperty(NS_LITERAL_CSTRING("haspopup"), NS_LITERAL_STRING("true"),