Bug 560228 - assertion 'No docshell tree item for mDOMNode' when nsIAccessNode::rootDocument is called on application accessible, r=davidb

This commit is contained in:
Alexander Surkov 2010-04-23 12:45:16 +09:00
Родитель 12b3f4dd72
Коммит c5c2fd3be2
2 изменённых файлов: 15 добавлений и 0 удалений

Просмотреть файл

@ -58,6 +58,18 @@ nsApplicationAccessible::nsApplicationAccessible() :
NS_IMPL_ISUPPORTS_INHERITED1(nsApplicationAccessible, nsAccessible,
nsIAccessibleApplication)
////////////////////////////////////////////////////////////////////////////////
// nsIAccessNode
NS_IMETHODIMP
nsApplicationAccessible::GetRootDocument(nsIAccessibleDocument **aRootDocument)
{
NS_ENSURE_ARG_POINTER(aRootDocument);
*aRootDocument = nsnull;
return NS_OK;
}
////////////////////////////////////////////////////////////////////////////////
// nsIAccessible

Просмотреть файл

@ -68,6 +68,9 @@ public:
// nsISupports
NS_DECL_ISUPPORTS_INHERITED
// nsIAccessNode
NS_IMETHOD GetRootDocument(nsIAccessibleDocument **aRootDocument);
// nsIAccessible
NS_IMETHOD GetName(nsAString& aName);
NS_IMETHOD GetDescription(nsAString& aValue);