From 9c24e1d492575b9b9d7630d861ac22c943563182 Mon Sep 17 00:00:00 2001 From: "hwaara%gmail.com" Date: Thu, 7 Sep 2006 11:25:09 +0000 Subject: [PATCH] Some XUL accessible wrap classes no longer used. b=351563, r=hwaara, aaronlev. Patch by surkov.alexander@gmail.com --- accessible/src/base/nsAccessibilityService.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/accessible/src/base/nsAccessibilityService.cpp b/accessible/src/base/nsAccessibilityService.cpp index c8c2ddbf6e1a..c1761c50a66e 100644 --- a/accessible/src/base/nsAccessibilityService.cpp +++ b/accessible/src/base/nsAccessibilityService.cpp @@ -1358,7 +1358,7 @@ nsresult nsAccessibilityService::GetAccessibleByType(nsIDOMNode *aNode, *aAccessible = new nsXULMenubarAccessible(aNode, weakShell); break; case nsIAccessibleProvider::XULMenuitem: - *aAccessible = new nsXULMenuitemAccessible(aNode, weakShell); + *aAccessible = new nsXULMenuitemAccessibleWrap(aNode, weakShell); break; case nsIAccessibleProvider::XULMenupopup: { @@ -1413,10 +1413,10 @@ nsresult nsAccessibilityService::GetAccessibleByType(nsIDOMNode *aNode, *aAccessible = new nsXULTextFieldAccessible(aNode, weakShell); break; case nsIAccessibleProvider::XULTree: - *aAccessible = new nsXULTreeAccessible(aNode, weakShell); + *aAccessible = new nsXULTreeAccessibleWrap(aNode, weakShell); break; case nsIAccessibleProvider::XULTreeColumns: - *aAccessible = new nsXULTreeColumnsAccessible(aNode, weakShell); + *aAccessible = new nsXULTreeColumnsAccessibleWrap(aNode, weakShell); break; case nsIAccessibleProvider::XULTreeColumnitem: *aAccessible = new nsXULTreeColumnitemAccessible(aNode, weakShell);