mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 378563 warning in getNameCB when opening a new pager=aaronleventhal
This commit is contained in:
parent
eb7749a57b
commit
6aeb263096
@ -54,8 +54,10 @@ nsOuterDocAccessible::nsOuterDocAccessible(nsIDOMNode* aNode,
|
||||
|
||||
/* attribute wstring accName; */
|
||||
NS_IMETHODIMP nsOuterDocAccessible::GetName(nsAString& aName)
|
||||
{
|
||||
nsCOMPtr<nsIAccessibleDocument> accDoc(do_QueryInterface(mFirstChild));
|
||||
{
|
||||
nsCOMPtr<nsIAccessible> accessible;
|
||||
GetFirstChild(getter_AddRefs(accessible));
|
||||
nsCOMPtr<nsIAccessibleDocument> accDoc(do_QueryInterface(accessible));
|
||||
if (!accDoc) {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
@ -214,9 +214,10 @@ NS_IMETHODIMP nsXULTabPanelsAccessible::GetRole(PRUint32 *aRole)
|
||||
* the panel. XXX not sure if the "panels" object should have the
|
||||
* same name.
|
||||
*/
|
||||
NS_IMETHODIMP nsXULTabPanelsAccessible::GetName(nsAString& _retval)
|
||||
NS_IMETHODIMP nsXULTabPanelsAccessible::GetName(nsAString& aName)
|
||||
{
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
aName.Truncate();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user