diff options
author | win7-7 <win7-7@users.noreply.github.com> | 2020-01-29 11:14:34 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-14 12:19:39 +0200 |
commit | efd88ee9995dca701786cd13204d57899335f569 (patch) | |
tree | 0f1d6c8067aa2607176cc263bda9eb2b1c4315ce /layout/tables/nsTableCellFrame.cpp | |
parent | 9a74d53315e569171b4c4efa4ed5b278aa63f83c (diff) | |
download | UXP-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/nsTableCellFrame.cpp')
-rw-r--r-- | layout/tables/nsTableCellFrame.cpp | 14 |
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, |