mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 643906 - Firefox 4.0 Crash Report [@ nsAccessible::AsHyperText() ], r=davidb, a=blocking2.x+
This commit is contained in:
parent
5dbb04e848
commit
74448264ac
@ -70,7 +70,10 @@ TextUpdater::DoUpdate(const nsAString& aNewText, const nsAString& aOldText,
|
||||
PRUint32 aSkipStart)
|
||||
{
|
||||
nsAccessible* parent = mTextLeaf->GetParent();
|
||||
NS_ASSERTION(parent, "No parent for text leaf!");
|
||||
if (!parent) {
|
||||
NS_ERROR("No parent for text leaf!");
|
||||
return;
|
||||
}
|
||||
|
||||
mHyperText = parent->AsHyperText();
|
||||
if (!mHyperText) {
|
||||
|
Loading…
Reference in New Issue
Block a user