mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
integrate caption with new frame creation code
This commit is contained in:
parent
e012b52354
commit
04d96da8d4
@ -147,7 +147,7 @@ nsTableCaption::CreateFrame(nsIPresContext* aPresContext,
|
||||
NS_PRECONDITION(nsnull!=aPresContext, "bad arg");
|
||||
|
||||
nsIFrame* frame;
|
||||
nsresult rv = nsBodyFrame::NewFrame(&frame, this, aParentFrame);
|
||||
nsresult rv = NS_NewBodyFrame(this, aParentFrame, frame);
|
||||
if (NS_OK != rv) {
|
||||
return rv;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user