Eliminated IRIX compiler warnings (and a bug)

git-svn-id: svn://10.0.0.236/trunk@4568 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp
1998-06-26 15:07:09 +00:00
parent dbc3bfcab0
commit 410a0c4bb2
16 changed files with 17 additions and 39 deletions

View File

@@ -262,11 +262,9 @@ NS_METHOD nsHTMLContainerFrame::ContentInserted(nsIPresShell* aShell,
}
// Create the new frame
nsIStyleContext* kidSC;
kidSC = aPresContext->ResolveStyleContextFor(aChild, parent);
nsIFrame* newFrame;
//XXX nsresult rv = parent->CreateFrameFor(aPresContext, aChild, kidSC, newFrame);
nsresult rv = nsHTMLBase::CreateFrame(aPresContext, this, aChild, nsnull, newFrame);
nsresult rv = nsHTMLBase::CreateFrame(aPresContext, this, aChild, nsnull,
newFrame);
if (NS_OK != rv) {
return rv;
}