summaryrefslogtreecommitdiffstats
path: root/layout/tables/nsTableCellFrame.cpp
diff options
context:
space:
mode:
authorwin7-7 <win7-7@users.noreply.github.com>2020-01-29 11:14:34 +0200
committerwin7-7 <win7-7@users.noreply.github.com>2020-01-29 11:14:34 +0200
commitfd26b84536a851abf72cef32bdf35bd82031eb90 (patch)
tree5d83ba6fdbad5af1794675a304bb97b0dc41bcc3 /layout/tables/nsTableCellFrame.cpp
parent54fbb5c75c2e09104387fb1c1fff86d46aa9c5d1 (diff)
downloadUXP-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/nsTableCellFrame.cpp')
-rw-r--r--layout/tables/nsTableCellFrame.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/layout/tables/nsTableCellFrame.cpp b/layout/tables/nsTableCellFrame.cpp
index ec9458f76..043509fc4 100644
--- a/layout/tables/nsTableCellFrame.cpp
+++ b/layout/tables/nsTableCellFrame.cpp
@@ -59,20 +59,6 @@ nsTableCellFrame::~nsTableCellFrame()
NS_IMPL_FRAMEARENA_HELPERS(nsTableCellFrame)
-nsTableCellFrame*
-nsTableCellFrame::GetNextCell() const
-{
- nsIFrame* childFrame = GetNextSibling();
- while (childFrame) {
- nsTableCellFrame *cellFrame = do_QueryFrame(childFrame);
- if (cellFrame) {
- return cellFrame;
- }
- childFrame = childFrame->GetNextSibling();
- }
- return nullptr;
-}
-
void
nsTableCellFrame::Init(nsIContent* aContent,
nsContainerFrame* aParent,