зеркало из https://github.com/mozilla/gecko-dev.git
Fixing bustage from accessibility checkin
This commit is contained in:
Родитель
1b885a472e
Коммит
79b726d4dc
|
@ -921,11 +921,11 @@ PRBool nsAccessibleEditableText::IsSingleLineTextControl(nsIDOMNode *aDomNode)
|
||||||
nsresult nsAccessibleEditableText::FireTextChangeEvent(AtkTextChange *aTextData)
|
nsresult nsAccessibleEditableText::FireTextChangeEvent(AtkTextChange *aTextData)
|
||||||
{
|
{
|
||||||
nsCOMPtr<nsPIAccessible> privAccessible(do_QueryInterface(NS_STATIC_CAST(nsIAccessibleText*, this)));
|
nsCOMPtr<nsPIAccessible> privAccessible(do_QueryInterface(NS_STATIC_CAST(nsIAccessibleText*, this)));
|
||||||
if (accessible) {
|
if (privAccessible) {
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
printf(" [start=%d, length=%d, add=%d]\n", aTextData->start, aTextData->length, aTextData->add);
|
printf(" [start=%d, length=%d, add=%d]\n", aTextData->start, aTextData->length, aTextData->add);
|
||||||
#endif
|
#endif
|
||||||
privAccessible->FireToolkitEvent(nsIAccessibleEventReceiver::EVENT_ATK_TEXT_CHANGE, accessible, aTextData);
|
privAccessible->FireToolkitEvent(nsIAccessibleEventReceiver::EVENT_ATK_TEXT_CHANGE, privAccessible, aTextData);
|
||||||
}
|
}
|
||||||
|
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче