Added Init() member function to nsIFrame
git-svn-id: svn://10.0.0.236/trunk@15682 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -32,8 +32,8 @@ static const PRBool gsDebug = PR_FALSE;
|
||||
static const PRBool gsNoisyRefs = PR_FALSE;
|
||||
#endif
|
||||
|
||||
nsTableColFrame::nsTableColFrame(nsIContent* aContent, nsIFrame* aParentFrame)
|
||||
: nsFrame(aContent, aParentFrame)
|
||||
nsTableColFrame::nsTableColFrame()
|
||||
: nsFrame()
|
||||
{
|
||||
mColIndex = 0;
|
||||
mMaxColWidth = 0;
|
||||
@@ -44,11 +44,6 @@ nsTableColFrame::nsTableColFrame(nsIContent* aContent, nsIFrame* aParentFrame)
|
||||
mWidthSource = eWIDTH_SOURCE_NONE;
|
||||
}
|
||||
|
||||
|
||||
nsTableColFrame::~nsTableColFrame()
|
||||
{
|
||||
}
|
||||
|
||||
NS_METHOD nsTableColFrame::Paint(nsIPresContext& aPresContext,
|
||||
nsIRenderingContext& aRenderingContext,
|
||||
const nsRect& aDirtyRect)
|
||||
@@ -95,11 +90,9 @@ nscoord nsTableColFrame::GetColWidthForComputation()
|
||||
/* ----- global methods ----- */
|
||||
|
||||
nsresult
|
||||
NS_NewTableColFrame(nsIContent* aContent,
|
||||
nsIFrame* aParentFrame,
|
||||
nsIFrame*& aResult)
|
||||
NS_NewTableColFrame(nsIFrame*& aResult)
|
||||
{
|
||||
nsIFrame* it = new nsTableColFrame(aContent, aParentFrame);
|
||||
nsIFrame* it = new nsTableColFrame;
|
||||
if (nsnull == it) {
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user