Changed SetRowIndex() to be inline and non-virtual
git-svn-id: svn://10.0.0.236/trunk@16494 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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; }
|
||||
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user