mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-23 04:43:07 +09:00
Issue #1355 - Make nsTableCellFrame::GetColIndex/GetRowIndex faster
We can devirtualize it, remove some branches.
This commit is contained in:
parent
bcbf8e8983
commit
e8bb5560f7
12 changed files with 106 additions and 152 deletions
|
|
@ -2730,8 +2730,8 @@ HTMLEditor::GetCellDataAt(nsIDOMElement* aTable,
|
|||
}
|
||||
|
||||
*aIsSelected = cellFrame->IsSelected();
|
||||
cellFrame->GetRowIndex(*aStartRowIndex);
|
||||
cellFrame->GetColIndex(*aStartColIndex);
|
||||
*aStartRowIndex = cellFrame->RowIndex();
|
||||
*aStartColIndex = cellFrame->ColIndex();
|
||||
*aRowSpan = cellFrame->GetRowSpan();
|
||||
*aColSpan = cellFrame->GetColSpan();
|
||||
*aActualRowSpan = tableFrame->GetEffectiveRowSpanAt(aRowIndex, aColIndex);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue