diff options
author | win7-7 <win7-7@users.noreply.github.com> | 2020-01-29 11:14:34 +0200 |
---|---|---|
committer | win7-7 <win7-7@users.noreply.github.com> | 2020-01-29 11:14:34 +0200 |
commit | fd26b84536a851abf72cef32bdf35bd82031eb90 (patch) | |
tree | 5d83ba6fdbad5af1794675a304bb97b0dc41bcc3 /layout/tables/nsTableRowFrame.cpp | |
parent | 54fbb5c75c2e09104387fb1c1fff86d46aa9c5d1 (diff) | |
download | UXP-fd26b84536a851abf72cef32bdf35bd82031eb90.tar UXP-fd26b84536a851abf72cef32bdf35bd82031eb90.tar.gz UXP-fd26b84536a851abf72cef32bdf35bd82031eb90.tar.lz UXP-fd26b84536a851abf72cef32bdf35bd82031eb90.tar.xz UXP-fd26b84536a851abf72cef32bdf35bd82031eb90.zip |
Issue #1355 - Speed up the traversal of a table row frame's child cells
Speed up getting the first cellframe in a row and the next cellframe after the given one
Diffstat (limited to 'layout/tables/nsTableRowFrame.cpp')
-rw-r--r-- | layout/tables/nsTableRowFrame.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/layout/tables/nsTableRowFrame.cpp b/layout/tables/nsTableRowFrame.cpp index ea2477b73..8bbaf50f5 100644 --- a/layout/tables/nsTableRowFrame.cpp +++ b/layout/tables/nsTableRowFrame.cpp @@ -304,18 +304,6 @@ GetBSizeOfRowsSpannedBelowFirst(nsTableCellFrame& aTableCellFrame, return bsize; } -nsTableCellFrame* -nsTableRowFrame::GetFirstCell() -{ - for (nsIFrame* childFrame : mFrames) { - nsTableCellFrame *cellFrame = do_QueryFrame(childFrame); - if (cellFrame) { - return cellFrame; - } - } - return nullptr; -} - /** * Post-reflow hook. This is where the table row does its post-processing */ |