зеркало из https://github.com/mozilla/gecko-dev.git
Bug 643906 - Firefox 4.0 Crash Report [@ nsAccessible::AsHyperText() ], r=davidb, a=blocking2.x+
This commit is contained in:
Родитель
5006389b43
Коммит
7bf5f260f4
|
@ -70,7 +70,10 @@ TextUpdater::DoUpdate(const nsAString& aNewText, const nsAString& aOldText,
|
||||||
PRUint32 aSkipStart)
|
PRUint32 aSkipStart)
|
||||||
{
|
{
|
||||||
nsAccessible* parent = mTextLeaf->GetParent();
|
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();
|
mHyperText = parent->AsHyperText();
|
||||||
if (!mHyperText) {
|
if (!mHyperText) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче