diff options
author | win7-7 <win7-7@users.noreply.github.com> | 2020-02-16 16:06:53 +0200 |
---|---|---|
committer | win7-7 <win7-7@users.noreply.github.com> | 2020-02-16 16:06:53 +0200 |
commit | d4098037a4a6bee464fde4b70644e730e13b487f (patch) | |
tree | 60ff499425a2c3acad1c0d66f88aae3a85f2509c /layout/tables/nsITableCellLayout.h | |
parent | 4234b3a36b364da2d5dd4f243f2543a9d76057d8 (diff) | |
download | UXP-d4098037a4a6bee464fde4b70644e730e13b487f.tar UXP-d4098037a4a6bee464fde4b70644e730e13b487f.tar.gz UXP-d4098037a4a6bee464fde4b70644e730e13b487f.tar.lz UXP-d4098037a4a6bee464fde4b70644e730e13b487f.tar.xz UXP-d4098037a4a6bee464fde4b70644e730e13b487f.zip |
Issue #1355 - Make nsTableCellFrame::GetColIndex/GetRowIndex faster
We can devirtualize it, remove some branches.
Diffstat (limited to 'layout/tables/nsITableCellLayout.h')
-rw-r--r-- | layout/tables/nsITableCellLayout.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/layout/tables/nsITableCellLayout.h b/layout/tables/nsITableCellLayout.h index a366b150e..fdf693b06 100644 --- a/layout/tables/nsITableCellLayout.h +++ b/layout/tables/nsITableCellLayout.h @@ -14,6 +14,7 @@ /** * nsITableCellLayout * interface for layout objects that act like table cells. + * XXX: This interface should really go away... * * @author sclark */ @@ -26,11 +27,6 @@ public: /** return the mapped cell's row and column indexes (starting at 0 for each) */ NS_IMETHOD GetCellIndexes(int32_t &aRowIndex, int32_t &aColIndex)=0; - /** return the mapped cell's row index (starting at 0 for the first row) */ - virtual nsresult GetRowIndex(int32_t &aRowIndex) const = 0; - - /** return the mapped cell's column index (starting at 0 for the first column) */ - virtual nsresult GetColIndex(int32_t &aColIndex) const = 0; }; #endif |