Bug 1096930 - Crash while trying to enter the password for my Firefox account, r=marcoz

This commit is contained in:
Alexander Surkov 2014-11-11 10:56:40 -05:00
parent 96d39317f9
commit 9d7e117ea5

View File

@ -199,8 +199,12 @@ NS_IMETHODIMP
xpcAccessible::GetState(uint32_t* aState, uint32_t* aExtraState)
{
NS_ENSURE_ARG_POINTER(aState);
if (!Intl())
nsAccUtils::To32States(states::DEFUNCT, aState, aExtraState);
else
nsAccUtils::To32States(Intl()->State(), aState, aExtraState);
nsAccUtils::To32States(Intl()->State(), aState, aExtraState);
return NS_OK;
}