Revised factory method argument order (normalized)
git-svn-id: svn://10.0.0.236/trunk@8945 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
2e717f67f3
commit
a716f18685
@ -379,8 +379,9 @@ nsObjectFrame::Paint(nsIPresContext& aPresContext,
|
||||
}
|
||||
|
||||
nsresult
|
||||
NS_NewObjectFrame(nsIFrame*& aFrameResult, nsIContent* aContent,
|
||||
nsIFrame* aParentFrame)
|
||||
NS_NewObjectFrame(nsIContent* aContent,
|
||||
nsIFrame* aParentFrame,
|
||||
nsIFrame*& aFrameResult)
|
||||
{
|
||||
aFrameResult = new nsObjectFrame(aContent, aParentFrame);
|
||||
if (nsnull == aFrameResult) {
|
||||
|
||||
@ -379,8 +379,9 @@ nsObjectFrame::Paint(nsIPresContext& aPresContext,
|
||||
}
|
||||
|
||||
nsresult
|
||||
NS_NewObjectFrame(nsIFrame*& aFrameResult, nsIContent* aContent,
|
||||
nsIFrame* aParentFrame)
|
||||
NS_NewObjectFrame(nsIContent* aContent,
|
||||
nsIFrame* aParentFrame,
|
||||
nsIFrame*& aFrameResult)
|
||||
{
|
||||
aFrameResult = new nsObjectFrame(aContent, aParentFrame);
|
||||
if (nsnull == aFrameResult) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user