зеркало из https://github.com/mozilla/pjs.git
Bug 409473. New crash caused by bug 405248. r=surkov, a=blocking1.9
This commit is contained in:
Родитель
c92e4df41e
Коммит
62b7473441
|
@ -1769,12 +1769,6 @@ NS_IMETHODIMP nsDocAccessible::InvalidateCacheSubtree(nsIContent *aChild,
|
||||||
nsCOMPtr<nsIAccessNode> childAccessNode;
|
nsCOMPtr<nsIAccessNode> childAccessNode;
|
||||||
GetCachedAccessNode(childNode, getter_AddRefs(childAccessNode));
|
GetCachedAccessNode(childNode, getter_AddRefs(childAccessNode));
|
||||||
nsCOMPtr<nsIAccessible> childAccessible = do_QueryInterface(childAccessNode);
|
nsCOMPtr<nsIAccessible> childAccessible = do_QueryInterface(childAccessNode);
|
||||||
if (!childAccessible && !isHiding) {
|
|
||||||
// If not about to hide it, make sure there's an accessible so we can fire an
|
|
||||||
// event for it
|
|
||||||
GetAccService()->GetAttachedAccessibleFor(childNode,
|
|
||||||
getter_AddRefs(childAccessible));
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef DEBUG_A11Y
|
#ifdef DEBUG_A11Y
|
||||||
nsAutoString localName;
|
nsAutoString localName;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче