зеркало из https://github.com/mozilla/gecko-dev.git
Bug 793587 - ASSERTION: 'No frame for list item' in HTMLListBulletAccessible::Name, r=tbsaunde
This commit is contained in:
Родитель
73d833ed04
Коммит
3ec8782c0f
|
@ -168,7 +168,6 @@ HTMLListBulletAccessible::Name(nsString &aName)
|
|||
|
||||
// Native anonymous content, ARIA can't be used. Get list bullet text.
|
||||
nsBlockFrame* blockFrame = do_QueryFrame(mContent->GetPrimaryFrame());
|
||||
NS_ASSERTION(blockFrame, "No frame for list item!");
|
||||
if (blockFrame) {
|
||||
blockFrame->GetBulletText(aName);
|
||||
|
||||
|
@ -197,7 +196,6 @@ HTMLListBulletAccessible::AppendTextTo(nsAString& aText, uint32_t aStartOffset,
|
|||
{
|
||||
nsAutoString bulletText;
|
||||
nsBlockFrame* blockFrame = do_QueryFrame(mContent->GetPrimaryFrame());
|
||||
NS_ASSERTION(blockFrame, "No frame for list item!");
|
||||
if (blockFrame)
|
||||
blockFrame->GetBulletText(bulletText);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче