зеркало из https://github.com/mozilla/gecko-dev.git
Bug 388930. gsignal.c:2271 signal name 'text_caret_moved' is invalid for instance. patch by Ginn Chen, r=aaronlev, a=dsicore
This commit is contained in:
Родитель
a73791209d
Коммит
f698a4093c
|
@ -1205,7 +1205,9 @@ nsDocAccessible::FireTextChangedEventOnDOMCharacterDataModified(nsIContent *aCon
|
|||
|
||||
nsCOMPtr<nsIAccessible> accessible;
|
||||
nsresult rv = GetAccessibleInParentChain(node, getter_AddRefs(accessible));
|
||||
if (NS_FAILED(rv) || !accessible)
|
||||
nsCOMPtr<nsIAccessibleHyperText> hyperTextIface =
|
||||
do_QueryInterface(accessible);
|
||||
if (NS_FAILED(rv) || !hyperTextIface)
|
||||
return;
|
||||
|
||||
nsRefPtr<nsHyperTextAccessible> textAccessible;
|
||||
|
@ -1254,7 +1256,9 @@ nsDocAccessible::FireTextChangedEventOnDOMNodeInserted(nsIContent *aChild,
|
|||
|
||||
nsCOMPtr<nsIAccessible> accessible;
|
||||
nsresult rv = GetAccessibleInParentChain(node, getter_AddRefs(accessible));
|
||||
if (NS_FAILED(rv) || !accessible)
|
||||
nsCOMPtr<nsIAccessibleHyperText> hyperTextIface =
|
||||
do_QueryInterface(accessible);
|
||||
if (NS_FAILED(rv) || !hyperTextIface)
|
||||
return;
|
||||
|
||||
nsRefPtr<nsHyperTextAccessible> textAccessible;
|
||||
|
@ -1312,7 +1316,9 @@ nsDocAccessible::FireTextChangedEventOnDOMNodeRemoved(nsIContent *aChild,
|
|||
|
||||
nsCOMPtr<nsIAccessible> accessible;
|
||||
nsresult rv = GetAccessibleInParentChain(node, getter_AddRefs(accessible));
|
||||
if (NS_FAILED(rv) || !accessible)
|
||||
nsCOMPtr<nsIAccessibleHyperText> hyperTextIface =
|
||||
do_QueryInterface(accessible);
|
||||
if (NS_FAILED(rv) || !hyperTextIface)
|
||||
return;
|
||||
|
||||
nsRefPtr<nsHyperTextAccessible> textAccessible;
|
||||
|
|
Загрузка…
Ссылка в новой задаче