summaryrefslogtreecommitdiffstats
path: root/layout/tables/nsTableCellFrame.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-02-07 09:52:57 +0100
committerGitHub <noreply@github.com>2020-02-07 09:52:57 +0100
commita6ef90b1830e263fefda7bcb6e7b74464044a678 (patch)
tree85fc59a89d370d98e2c132e2b4b77343eb507ff0 /layout/tables/nsTableCellFrame.h
parent99aa809cb850a19d09cb7fc3b92899085b4b447e (diff)
parent3a7d5d01cccf6abb3b83db8cf31ca213724f3ee7 (diff)
downloadUXP-a6ef90b1830e263fefda7bcb6e7b74464044a678.tar
UXP-a6ef90b1830e263fefda7bcb6e7b74464044a678.tar.gz
UXP-a6ef90b1830e263fefda7bcb6e7b74464044a678.tar.lz
UXP-a6ef90b1830e263fefda7bcb6e7b74464044a678.tar.xz
UXP-a6ef90b1830e263fefda7bcb6e7b74464044a678.zip
Merge pull request #1388 from win7-7/devirtualize-pr
Merging this in even without a test performed since the code change looks sane. real-world testing will have to be performed.
Diffstat (limited to 'layout/tables/nsTableCellFrame.h')
-rw-r--r--layout/tables/nsTableCellFrame.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/layout/tables/nsTableCellFrame.h b/layout/tables/nsTableCellFrame.h
index e8dad5c20..ea527b3c5 100644
--- a/layout/tables/nsTableCellFrame.h
+++ b/layout/tables/nsTableCellFrame.h
@@ -165,11 +165,11 @@ public:
/**
* return the cell's specified row span. this is what was specified in the
- * content model or in the style info, and is always >= 1.
+ * content model or in the style info, and is always >= 0.
* to get the effective row span (the actual value that applies), use GetEffectiveRowSpan()
* @see nsTableFrame::GetEffectiveRowSpan()
*/
- virtual int32_t GetRowSpan();
+ int32_t GetRowSpan();
// there is no set row index because row index depends on the cell's parent row only
@@ -191,7 +191,7 @@ public:
* to get the effective col span (the actual value that applies), use GetEffectiveColSpan()
* @see nsTableFrame::GetEffectiveColSpan()
*/
- virtual int32_t GetColSpan();
+ int32_t GetColSpan();
/** return the cell's column index (starting at 0 for the first column) */
virtual nsresult GetColIndex(int32_t &aColIndex) const override;