bug 1172516 - fix firing caret move events for proxied accessibles r=lsocks

This commit is contained in:
Trevor Saunders 2015-06-05 15:58:03 -04:00
parent 11c45629b9
commit 83f9c16b0c

View File

@ -860,9 +860,9 @@ Accessible::HandleAccEvent(AccEvent* aEvent)
break;
}
case nsIAccessibleEvent::EVENT_TEXT_CARET_MOVED: {
AccCaretMoveEvent* event = downcast_accEvent(aEvent);
ipcDoc->SendEvent(id, event->GetCaretOffset());
break;
AccCaretMoveEvent* event = downcast_accEvent(aEvent);
ipcDoc->SendCaretMoveEvent(id, event->GetCaretOffset());
break;
}
case nsIAccessibleEvent::EVENT_TEXT_INSERTED:
case nsIAccessibleEvent::EVENT_TEXT_REMOVED: {