Bug 313817. DeCOMtaminate a bunch of NS_New*Frame functions. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@183097 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -124,9 +124,8 @@ nsHTMLButtonControlFrame::Init(nsPresContext* aPresContext,
|
||||
flags |= NS_BLOCK_SHRINK_WRAP;
|
||||
}
|
||||
|
||||
nsIFrame* areaFrame;
|
||||
nsIPresShell *shell = aPresContext->PresShell();
|
||||
NS_NewAreaFrame(shell, &areaFrame, flags);
|
||||
nsIFrame* areaFrame = NS_NewAreaFrame(shell, flags);
|
||||
mFrames.SetFrames(areaFrame);
|
||||
|
||||
// Resolve style and initialize the frame
|
||||
|
||||
Reference in New Issue
Block a user