mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 424073. Crash @ nsAccessible::GetTextFromRelationID(nsIAtom*, nsString). r=surkov, a=beltzner for 1.9b5
This commit is contained in:
parent
a8535b1563
commit
55397f94bf
@ -1710,8 +1710,10 @@ nsresult nsAccessible::GetTextFromRelationID(nsIAtom *aIDProperty, nsString &aNa
|
||||
{
|
||||
// Get DHTML name from content subtree pointed to by ID attribute
|
||||
aName.Truncate();
|
||||
NS_ASSERTION(mDOMNode, "Called from shutdown accessible");
|
||||
nsCOMPtr<nsIContent> content = GetRoleContent(mDOMNode);
|
||||
NS_ASSERTION(content, "Called from shutdown accessible");
|
||||
if (!content)
|
||||
return NS_OK;
|
||||
|
||||
nsAutoString ids;
|
||||
if (!content->GetAttr(kNameSpaceID_None, aIDProperty, ids)) {
|
||||
|
Loading…
Reference in New Issue
Block a user