summaryrefslogtreecommitdiffstats
path: root/layout/tables/nsTableRowFrame.h
diff options
context:
space:
mode:
authorwin7-7 <win7-7@users.noreply.github.com>2020-01-29 11:14:34 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-14 12:19:39 +0200
commitefd88ee9995dca701786cd13204d57899335f569 (patch)
tree0f1d6c8067aa2607176cc263bda9eb2b1c4315ce /layout/tables/nsTableRowFrame.h
parent9a74d53315e569171b4c4efa4ed5b278aa63f83c (diff)
downloadUXP-efd88ee9995dca701786cd13204d57899335f569.tar
UXP-efd88ee9995dca701786cd13204d57899335f569.tar.gz
UXP-efd88ee9995dca701786cd13204d57899335f569.tar.lz
UXP-efd88ee9995dca701786cd13204d57899335f569.tar.xz
UXP-efd88ee9995dca701786cd13204d57899335f569.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.h4
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.