Bug 1159872 - Make IAccessible2::Get_States once again return S_OK when it detects a defunct accessible. r=surkov

CLOSED TREE
This commit is contained in:
Marco Zehe 2015-04-30 10:26:00 -04:00
parent 63c6e0f603
commit ea10c0a4d5

View File

@ -354,7 +354,7 @@ ia2Accessible::get_states(AccessibleStates* aStates)
AccessibleWrap* acc = static_cast<AccessibleWrap*>(this);
if (acc->IsDefunct()) {
*aStates = IA2_STATE_DEFUNCT;
return CO_E_OBJNOTCONNECTED;
return S_OK;
}
uint64_t state;