Eliminated IRIX compiler warnings (and a bug)

This commit is contained in:
kipp
1998-06-26 15:07:09 +00:00
parent 8a290090fe
commit 9e773c0a59
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;
}