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.h | |
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.h')
-rw-r--r-- | layout/tables/nsTableRowFrame.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layout/tables/nsTableRowFrame.h b/layout/tables/nsTableRowFrame.h index 9e15d851f..c53c81ff1 100644 --- a/layout/tables/nsTableRowFrame.h +++ b/layout/tables/nsTableRowFrame.h @@ -82,7 +82,9 @@ public: const nsRect& aDirtyRect, const nsDisplayListSet& aLists) override; - nsTableCellFrame* GetFirstCell() ; + // Implemented in nsTableCellFrame.h, because it needs to know about the + // nsTableCellFrame class, but we can't include nsTableCellFrame.h here. + inline nsTableCellFrame* GetFirstCell() const; /** calls Reflow for all of its child cells. * Cells with rowspan=1 are all set to the same height and stacked horizontally. |