Bug 382860. No caret events in CSS scrollable area. r=surkov

This commit is contained in:
aaronleventhal@moonset.net 2007-06-02 10:43:33 -07:00
Родитель cb030d7299
Коммит d31f32a7e0
1 изменённых файлов: 2 добавлений и 14 удалений

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

@ -601,21 +601,9 @@ nsAccessibilityService::CreateHTMLImageAccessible(nsISupports *aFrame, nsIAccess
}
NS_IMETHODIMP
nsAccessibilityService::CreateHTMLGenericAccessible(nsISupports *aFrame, nsIAccessible **_retval)
nsAccessibilityService::CreateHTMLGenericAccessible(nsISupports *aFrame, nsIAccessible **aAccessible)
{
nsIFrame* frame;
nsCOMPtr<nsIDOMNode> node;
nsCOMPtr<nsIWeakReference> weakShell;
nsresult rv = GetInfo(aFrame, &frame, getter_AddRefs(weakShell), getter_AddRefs(node));
if (NS_FAILED(rv))
return rv;
*_retval = new nsAccessibleWrap(node, weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
return CreateHyperTextAccessible(aFrame, aAccessible);
}
NS_IMETHODIMP