зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1362880 - Reserve storage for 10 RowInfo objects in nsTableRowGroupFrame::CalculateRowBSizes(); r=dbaron
This commit is contained in:
Родитель
6166881c14
Коммит
84a1f50b35
|
@ -595,7 +595,7 @@ nsTableRowGroupFrame::CalculateRowBSizes(nsPresContext* aPresContext,
|
|||
if (numRows <= 0)
|
||||
return;
|
||||
|
||||
nsTArray<RowInfo> rowInfo;
|
||||
AutoTArray<RowInfo, 10> rowInfo;
|
||||
if (!rowInfo.AppendElements(numRows)) {
|
||||
return;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче