diff --git a/mozilla/layout/html/table/src/nsTableRowFrame.cpp b/mozilla/layout/html/table/src/nsTableRowFrame.cpp index ca2fb4f2e9e..e573276193e 100644 --- a/mozilla/layout/html/table/src/nsTableRowFrame.cpp +++ b/mozilla/layout/html/table/src/nsTableRowFrame.cpp @@ -318,11 +318,6 @@ void nsTableRowFrame::PaintChildren(nsIPresContext& aPresContext, } } -void nsTableRowFrame::SetRowIndex (int aRowIndex) -{ - mRowIndex = aRowIndex; -} - /** returns the height of the tallest child in this row (ignoring any cell with rowspans) */ nscoord nsTableRowFrame::GetTallestChild() const { diff --git a/mozilla/layout/html/table/src/nsTableRowFrame.h b/mozilla/layout/html/table/src/nsTableRowFrame.h index b43a6d5f412..9d330242001 100644 --- a/mozilla/layout/html/table/src/nsTableRowFrame.h +++ b/mozilla/layout/html/table/src/nsTableRowFrame.h @@ -116,7 +116,7 @@ public: virtual PRInt32 GetRowIndex() const; /** set this row's starting row index */ - virtual void SetRowIndex (int aRowIndex); + void SetRowIndex (int aRowIndex); virtual PRBool Contains(const nsPoint& aPoint); @@ -247,6 +247,11 @@ inline PRInt32 nsTableRowFrame::GetRowIndex() const return (mRowIndex); } +inline void nsTableRowFrame::SetRowIndex (int aRowIndex) +{ + mRowIndex = aRowIndex; +} + inline void nsTableRowFrame::ResetInitChildren() { mInitializedChildren=PR_FALSE; } diff --git a/mozilla/layout/tables/nsTableRowFrame.cpp b/mozilla/layout/tables/nsTableRowFrame.cpp index ca2fb4f2e9e..e573276193e 100644 --- a/mozilla/layout/tables/nsTableRowFrame.cpp +++ b/mozilla/layout/tables/nsTableRowFrame.cpp @@ -318,11 +318,6 @@ void nsTableRowFrame::PaintChildren(nsIPresContext& aPresContext, } } -void nsTableRowFrame::SetRowIndex (int aRowIndex) -{ - mRowIndex = aRowIndex; -} - /** returns the height of the tallest child in this row (ignoring any cell with rowspans) */ nscoord nsTableRowFrame::GetTallestChild() const { diff --git a/mozilla/layout/tables/nsTableRowFrame.h b/mozilla/layout/tables/nsTableRowFrame.h index b43a6d5f412..9d330242001 100644 --- a/mozilla/layout/tables/nsTableRowFrame.h +++ b/mozilla/layout/tables/nsTableRowFrame.h @@ -116,7 +116,7 @@ public: virtual PRInt32 GetRowIndex() const; /** set this row's starting row index */ - virtual void SetRowIndex (int aRowIndex); + void SetRowIndex (int aRowIndex); virtual PRBool Contains(const nsPoint& aPoint); @@ -247,6 +247,11 @@ inline PRInt32 nsTableRowFrame::GetRowIndex() const return (mRowIndex); } +inline void nsTableRowFrame::SetRowIndex (int aRowIndex) +{ + mRowIndex = aRowIndex; +} + inline void nsTableRowFrame::ResetInitChildren() { mInitializedChildren=PR_FALSE; }