Bug 1116753 - Remove the nsIPresShell* param from remaining frame ctors that still have it. r=roc

This commit is contained in:
Mats Palmgren
2015-01-06 09:27:56 +00:00
parent 6201e5dfc6
commit 6e2b90ea60
58 changed files with 122 additions and 131 deletions

View File

@@ -54,7 +54,7 @@ using namespace mozilla;
nsIFrame*
NS_NewTextControlFrame(nsIPresShell* aPresShell, nsStyleContext* aContext)
{
return new (aPresShell) nsTextControlFrame(aPresShell, aContext);
return new (aPresShell) nsTextControlFrame(aContext);
}
NS_IMPL_FRAMEARENA_HELPERS(nsTextControlFrame)
@@ -99,7 +99,7 @@ private:
};
#endif
nsTextControlFrame::nsTextControlFrame(nsIPresShell* aShell, nsStyleContext* aContext)
nsTextControlFrame::nsTextControlFrame(nsStyleContext* aContext)
: nsContainerFrame(aContext)
, mEditorHasBeenInitialized(false)
, mIsProcessing(false)