mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 757440 - crash in nsHTMLTableAccessible::ColCount with JAWS 11. r=tbsaunde
This commit is contained in:
parent
4053a1e846
commit
2897e96067
@ -533,6 +533,8 @@ PRUint32
|
||||
nsHTMLTableAccessible::ColCount()
|
||||
{
|
||||
nsITableLayout* tableLayout = GetTableLayout();
|
||||
if (!tableLayout)
|
||||
return 0;
|
||||
|
||||
PRInt32 rowCount = 0, colCount = 0;
|
||||
tableLayout->GetTableSize(rowCount, colCount);
|
||||
@ -543,6 +545,8 @@ PRUint32
|
||||
nsHTMLTableAccessible::RowCount()
|
||||
{
|
||||
nsITableLayout* tableLayout = GetTableLayout();
|
||||
if (!tableLayout)
|
||||
return 0;
|
||||
|
||||
PRInt32 rowCount = 0, colCount = 0;
|
||||
tableLayout->GetTableSize(rowCount, colCount);
|
||||
|
Loading…
Reference in New Issue
Block a user